question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optionally use `chrome.storage.local`

See original GitHub issue

We could add a feature to optionally use chrome.storage.local instead of chrome.storage.sync.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Sep 8, 2019

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.

0reactions
fregantecommented, Dec 10, 2021

No interest in over 2 years, closing again.

If you’re having trouble in Firefox: set a gecko.id

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found