为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Add-On Not Running on Browser Restart

more options

Using Firefox 78.3.1esr

We are on a closed network. We are trying to create an add-on/extension for Firefox. I am able to successfully create and install the extension using the "Install Add-On from File..." option. Using that same browser session, I can see the extension working as intended.

When I close the browser and restart it, the extension does not appear to be running. It is still listed in the Extensions section of the 'Add-ons Manager'. We have not signed the extension and have set 'xpinstall.signatures.required' to false. Because of the difficulties of getting the extension signed, we would like to proceed without it being signed.

Unsure of what else to try to get it working properly.

Thanks for any help!

Using Firefox 78.3.1esr We are on a closed network. We are trying to create an add-on/extension for Firefox. I am able to successfully create and install the extension using the "Install Add-On from File..." option. Using that same browser session, I can see the extension working as intended. When I close the browser and restart it, the extension does not appear to be running. It is still listed in the Extensions section of the 'Add-ons Manager'. We have not signed the extension and have set 'xpinstall.signatures.required' to false. Because of the difficulties of getting the extension signed, we would like to proceed without it being signed. Unsure of what else to try to get it working properly. Thanks for any help!

所有回复 (4)

more options

Does the extension show up as Enabled or Disabled on the Add-ons page after restart (the little slider switch next to its name)?

By the way, it's not difficult to get an extension signed manually (through the interactive form on the Add-ons site). At the first step, you choose private distribution instead of distribution on the site. I think it is worth testing whether getting it signed makes any difference. Probably not, but worth a try. More info: https://extensionworkshop.com/documentation/publish/submitting-an-add-on/

more options

@jscher2000

The add-on is enabled.

Another item I forgot to mention is that in the "about:debugging" when I inspect our add-on, this appears "Error: can't find profile directory." - "XULStore.jsm:66:15". Not 100% sure if this is related. I am seeing other posts saying that this is affecting extensions. This error seems to appear for other extensions and with or without my extension installed.

As far as signing, our network is a classified network, and in order to get items transferred from public networks to it, is not a trivial matter. So if I can keep the extension development and installation all within our closed network, that would be best.

Thanks for your input!

more options

Did you check the Browser Console for messages about this extension ?

more options

@cor-el

The Browser Console is where I am seeing the "Error: Can't find profile Directory" error. That error is listing XULStore.jsm:66:15 as the source.

I do not see any other errors in the console that point directly to the addon we're having problems with.

Thanks

Chris

由chris.mcdaniel0816于修改