Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Add-on only works once when enabled or reloaded

  • 2 respostas
  • 1 has this problem
  • 1 view
  • Last reply by JoshPham97

more options

Hello,

I am currently developing an add-on for Fire Fox. Apparently, my add-on only works on pages that are being opened at the time the add on is installed, reloaded or enabled. The add on does not work on pages opened afterward, even if they are the exact same pages as the one where the add-on functions correctly. The only way to make it work again is to re-install the add on, disable and re-enable it or reload the extension (using about:debugging) while the desired pages are opened.

For example, if I go to gmail and install the add-on while the page is open, the add-on will work on that particular page. If I open another tab and go to the exact same url, the add-on will not work.

The add-on is originally a Chrome extension, ported to Firefox. It works fine in Chrome, and does not seem to have any issues working in Firefox when it is working properly. Hence, I assume that this is a bug caused by the Firefox browser.

I would like to verify my hypothesis. Has anyone encountered this bug? What can I do to resolve this issue?

Hello, I am currently developing an add-on for Fire Fox. Apparently, my add-on only works on pages that are being opened at the time the add on is installed, reloaded or enabled. The add on does not work on pages opened afterward, even if they are the exact same pages as the one where the add-on functions correctly. The only way to make it work again is to re-install the add on, disable and re-enable it or reload the extension (using about:debugging) while the desired pages are opened. For example, if I go to gmail and install the add-on while the page is open, the add-on will work on that particular page. If I open another tab and go to the exact same url, the add-on will not work. The add-on is originally a Chrome extension, ported to Firefox. It works fine in Chrome, and does not seem to have any issues working in Firefox when it is working properly. Hence, I assume that this is a bug caused by the Firefox browser. I would like to verify my hypothesis. Has anyone encountered this bug? What can I do to resolve this issue?

All Replies (2)

more options

Hi

Thank you for your question, but this sounds more like an add-on development question than an issue with Firefox.

I recommend you ask in the add-on forum where there should be someone who should be able to help.

more options

Hi,

Thank you for the quick reply. I will post the question in the forum then.