為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改