Optionally use `chrome.storage.local`
See original GitHub issueWe could add a feature to optionally use chrome.storage.local
instead of chrome.storage.sync
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
chrome.storage - Chrome Developers
Use the chrome.storage API to store, retrieve, and track changes to user data. ... Local and sync storage areas should not store confidential...
Read more >Chrome Local Storage in Extensions - DEV Community
Since localStorage is persistent among multiple page sessions, it is the ideal option for saving Chrome extension data, allowing users to click ...
Read more >How to use chrome.storage in a chrome extension using a ...
To set chrome.storage.local.set({'testKey':'Test Value'}); // To get chrome.storage.local.get('testKey', function(data){ console.log(data); ...
Read more >chrome.storage - Google Chrome - GitHub Pages
When Chrome is offline, Chrome stores the data locally. The next time the browser is online, Chrome syncs the data. Even if a...
Read more >How to create your first Chrome extension - freshman.tech
We can use the browser localStorage API or chrome.storage which is specific to Chrome extensions. We'll opt for the latter in this tutorial....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d rather not offer this option because I think cross-device sync is always preferable from the user’s point of view, but I’m willing to add this for extensions with options that are meant to be local (e.g. a port number)
PR welcome, documentation included.
No interest in over 2 years, closing again.
If you’re having trouble in Firefox: set a gecko.id