Proposal: if extension has "storage"
permission it should be allowed to use Web Storage API and Cookies API
#223
Labels
proposal
Proposal for a change or new feature
Problem
When the user blocks third-party cookies or all cookies, this block also applies to extension pages (background, action popup, injected frames, DevTools frames). This is counter-intuitive to both users and developers and can break extensions.
Background
This incompatibility always existed, but it might become more common as browsers move to block third-party cookies.
For example, this exact problem was reported to React DevTools engineers back in 2014 (fixed by avoiding Web Storage API and Cookies API): facebook/react-devtools#8.
Chromium bugs explaining the problem:
Alternative fix
Users can grant extension permission to use third-party cookies by going to browser settings and adding an exclusion. This is very counter-intuitive.
Repro steps
Please see linked Chromium bugs.
Proposal
Extensions should be able to access Web Storage API and Cookies API if the extension has
"storage"
permission because:chrome.storage.local
The text was updated successfully, but these errors were encountered: