Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Add-on only works once when enabled or reloaded

  • 2 antwoorden
  • 1 heeft dit probleem
  • 5 weergaven
  • Laatste antwoord van 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?

Alle antwoorden (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.