Add-on only works once when enabled or reloaded
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?
Tất cả các câu trả lời (2)
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.
Hi,
Thank you for the quick reply. I will post the question in the forum then.