Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension id to make storage API work on Firefox in dev. #18

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

anirudhvarma12
Copy link
Collaborator

@anirudhvarma12 anirudhvarma12 commented Aug 8, 2020

Adds a static GUID to run the extension in dev mode in Firefox. Firefox requires extensions to have a (non-temporary) id to access storage.sync APIs.
See -

This change, however, makes Chromium-based browsers unhappy, as they do not recognize browser_specific_settings. The extension still works (tested in both chrome and brave), but shows errors in dev mode.

Closes #5

@anirudhvarma12
Copy link
Collaborator Author

According to this StackOverflow link, there is no way to make Chrome not complain about this key.

@nileshtrivedi nileshtrivedi merged commit 3d4bdae into master Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test and fix for Chrome, Brave & Firefox
2 participants