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

(bug) Nebulate doesn't ask URL permissions in Firefox #125

Open
hadrienbecle opened this issue Aug 25, 2023 · 0 comments
Open

(bug) Nebulate doesn't ask URL permissions in Firefox #125

hadrienbecle opened this issue Aug 25, 2023 · 0 comments

Comments

@hadrienbecle
Copy link

hadrienbecle commented Aug 25, 2023

Hi,

On Firefox ESR 115, after downloading Nebulate from AMO, the database didn't seem to be synced:

Stats screen of Nebulate with loading icons

After some debugging, I found that the problem was caused by permissions not being asked by the extension at first launch. The extension works perfectly when enabling them manually and relaunching the extension through about:debugging.

According to the WebExtension documentation (manifest.json > host_permissions > Requested permissions and user prompts), the extension should use permissions.contains and permissions.request at first launch because most browsers apart from Chrome (mainly Firefox and Safari) consider host_permissions to be optional permissions.

(also, to make things even simpler, it might change in the future with the introduction of yet another manifest.json property...)

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

No branches or pull requests

1 participant