Webextension with Backgroundscript only runs after reactivation

Hello Community,

I created a background script which should open files with a special file extension.

The script gets the latest download and if the file extension is valid it starts the application associated with the downloaded file.

I have one issue and I can’t find something via the search or google.

The Web Extension does only work when I reactive it.

Does anyone know that problem?

What do you mean by “reactivation”? Does the browser need to be restarted, the add-on turned off and then on again? Is there a link where we can test the add-on or look at the code?

Hello Jorge,

thank you for your reply. The “reactivation” meant the process of turning the plugin off and on again.
Restart firefox does not have any effects.

I can send you the source. Is pastebin a good way?

Best Regards

Moritz

Any way that works is good, though an installable file would be better. You should also provide more details about the problem.