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
@thiagolmoraes This is because the storage API will attempt to use chrome.storage api where possible. The way you have it configured, the storage is going to write to chrome.storage.sync. You can see this by querying await chrome.storage.sync.getAll() from your code.
If you want to write to localStorage in a content script, just write to localStorage like you normally would.
What happened?
Trying to use the Storage API in all ways but it doesn't work or no error message appears
Version
npm 8.19.4
node v16.20.2
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: