X
Tap here to go to the mobile version of the site.

Support Forum

Install and use unsigned add-on on enterprise environment (Firefox_setup_68.1.0-esr)

Posted

Hi, after many days spent to find out how to get my unsigned add-on to work, I'm able to run it only once after first installation.

Here is what I did: https://support.mozilla.org/en-US/questions/1273813

Add-on works either in debug mode, loaded from file and installed via policies.json until I close browser. Next time I run FF my add-on is not invoked at all.

manifest.json file contains this directive:

 "browser_specific_settings": {
   "gecko": {
     "id": "myaddon@domain.local"
   }
 }

Probably I miss something, but I did not find it in documentation. Any help will be appreciated Thanks in advance


I found how to view browser activity during restart, you can view it here: https://pastebin.com/pB2qBpR2 Thanks

Hi, after many days spent to find out how to get my unsigned add-on to work, I'm able to run it only once after first installation. Here is what I did: https://support.mozilla.org/en-US/questions/1273813 Add-on works either in debug mode, loaded from file and installed via <code>policies.json</code> until I close browser. Next time I run FF my add-on is not invoked at all. manifest.json file contains this directive: <code> "browser_specific_settings": { "gecko": { "id": "myaddon@domain.local" } } </code> Probably I miss something, but I did not find it in documentation. Any help will be appreciated Thanks in advance ---- I found how to view browser activity during restart, you can view it here: https://pastebin.com/pB2qBpR2 Thanks

Modified by letymar2710

Chosen solution

Sorry, there was nothing wrong, it was a bug inside plugin.

In the background script onInstalled and onStartup doesn't work as expected. To fix it, it was enough to put the code out of the methods.

Thanks

Read this answer in context 0
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

More Information

Chosen Solution

Sorry, there was nothing wrong, it was a bug inside plugin.

In the background script onInstalled and onStartup doesn't work as expected. To fix it, it was enough to put the code out of the methods.

Thanks

Sorry, there was nothing wrong, it was a bug inside plugin. In the background script onInstalled and onStartup doesn't work as expected. To fix it, it was enough to put the code out of the methods. Thanks
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.