You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
Developed an extension using kango using 1.8.0.
Works great on Chrome & Safari, but FF is causing problems.
These are the problems I've found so far -
Storage - I ran a test, saved some data on the content script to the storage. Checked that it was saved. Then, next time I open the extension, the data disappears....
Messaging doesn't always work, when a tab is opened, everything works great, but when the user interacts with the UI and does an action that sends a message to the background, the messaging back doesn't work.
I'm still investigating, trying to figure out what's wrong, but I've ruled out problems related to my code.
(For instance, everything works great on Safari & Chrome)....
Are there any known issues that you know of?
Thanks.
The text was updated successfully, but these errors were encountered:
That's odd. Firefox storage is working just fine for us in our extension. Are you saving async, or synchronously? In some contexts saving or retrieving Kango storage options wasn't working for us until we switched over to doing this:
Firefox tends to have weird behavior when it comes to using the window object as a global reference within content scripts. Another annoying fact is the Firefox frequently changes it's extensions API. (XUL, add-on SDK, now WebExtensions)
Basically for every other browser, hitting save on our options page then reloading the app will apply your updated settings. For FF, this isn't true until you open a new tab. The way features are loaded in is via the window object so I suspect this is the issue. Would love to know a good fix for this.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Developed an extension using kango using 1.8.0.
Works great on Chrome & Safari, but FF is causing problems.
These are the problems I've found so far -
I'm still investigating, trying to figure out what's wrong, but I've ruled out problems related to my code.
(For instance, everything works great on Safari & Chrome)....
Are there any known issues that you know of?
Thanks.
The text was updated successfully, but these errors were encountered: