Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

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

  • 1 Antwort
  • 2 haben dieses Problem
  • 23 Aufrufe
  • Letzte Antwort von letymar2710

more options

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

Geändert am von letymar2710

Ausgewählte Lösung

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

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (1)

more options

Ausgewählte Lösung

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