I know if i use chrome.storage.local.set I can go to the BG page in chrome://extensions and view the localstorage there... However is there any way to do this with the chrome.storage.sync?Thanks!
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/be2d61d9-f40b-46b7-b96b-8167fc51ac00%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
chrome.storage.sync.get(null, function(items) {
try {
if (chrome.runtime.lastError) {
console.warn(chrome.runtime.lastError.message);
} else {
console.log(Object.getOwnPropertyNames(items));
// console.log(JSON.stringify(items));
}
} catch (exception) {
window.alert('exception.stack: ' + exception.stack);
console.error((new Date()).toJSON(), "exception.stack:", exception.stack);
}
});
I know if i use chrome.storage.local.set I can go to the BG page in chrome://extensions and view the localstorage there... However is there any way to do this with the chrome.storage.sync?Thanks!
--