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

Using Permissions API in JS to improve browser compatibility #167

Open
ammpr opened this issue Oct 11, 2023 · 0 comments
Open

Using Permissions API in JS to improve browser compatibility #167

ammpr opened this issue Oct 11, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ammpr
Copy link
Contributor

ammpr commented Oct 11, 2023

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/permissions/request

https://www.w3.org/TR/permissions/

This could help us to make the site more functional in Firefox, and enable DOM storage (or another permission like mic access) in cases where it is disabled. See my comment on issue #153 (I observe that disabling DOM/default storage leaves ScribeAR non-functional).

The end user could be guided by request pops, instead of having to manually whitelist, etc. Permission request pops do not always appear in ScribeAR.

It is not uncommon for DOM storage to be disabled entirely, and DOM storage is handled heterogeneously by different browsers. In the case of Chrome, which was the Firefox alternative recommended to me for this project, DOM storage and cookies are interlinked. If you disable cookies, browser storage is disabled entirely.

@ammpr ammpr added bug Something isn't working enhancement New feature or request labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant