Add-On Not Running on Browser Restart
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!
All Replies (4)
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/
@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!
Did you check the Browser Console for messages about this extension ?
- "3-bar" menu button or Tools -> Web Developer
- https://developer.mozilla.org/en-US/Tools/Browser_Console
@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 द्वारा