chrome-sync

Inspect chrome.storage.sync while debugging Chrome extension

末鹿安然 提交于 2019-12-17 07:50:33
问题 Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync? chrome://sync-internals/ doesn't seem to display the actual contents of the synchronized storage per extension. 回答1: Storage Area Explorer extension provides a UI for viewing, editing, clearing, importing and exporting of chrome.storage.local , chrome.storage.sync , localStorage and sessionStorage : 回答2: A poor workaround is to call get and obtain all the stored

Inspect chrome.storage.sync while debugging Chrome extension

a 夏天 提交于 2019-12-17 07:50:29
问题 Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync? chrome://sync-internals/ doesn't seem to display the actual contents of the synchronized storage per extension. 回答1: Storage Area Explorer extension provides a UI for viewing, editing, clearing, importing and exporting of chrome.storage.local , chrome.storage.sync , localStorage and sessionStorage : 回答2: A poor workaround is to call get and obtain all the stored

Chrome extension store large amounts of data

北城余情 提交于 2019-11-28 14:04:03
I'm looking for an efficient way to store large amounts of data in my chrome extension. I've got a few txt files which are around 1-2mb. I'd like my chrome extension to 'cache' them locally so I don't need to fetch them every time. I've found syncFileSystem but this is only available for packed apps. There were warnings when trying to install this extension: 'syncFileSystem' is only allowed for packaged apps, but this is a extension. What is the best way to store this sort of data in a chrome extension? manifest.json { "manifest_version": 2, "name": "__MSG_name__", "version": "1.0", "default

Chrome extension store large amounts of data

馋奶兔 提交于 2019-11-27 08:11:12
问题 I'm looking for an efficient way to store large amounts of data in my chrome extension. I've got a few txt files which are around 1-2mb. I'd like my chrome extension to 'cache' them locally so I don't need to fetch them every time. I've found syncFileSystem but this is only available for packed apps. There were warnings when trying to install this extension: 'syncFileSystem' is only allowed for packaged apps, but this is a extension. What is the best way to store this sort of data in a chrome

Inspect chrome.storage.sync while debugging Chrome extension

久未见 提交于 2019-11-27 05:29:29
Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync ? chrome://sync-internals/ doesn't seem to display the actual contents of the synchronized storage per extension. Storage Area Explorer extension provides a UI for viewing, editing, clearing, importing and exporting of chrome.storage.local , chrome.storage.sync , localStorage and sessionStorage : A poor workaround is to call get and obtain all the stored values. Of course, this doesn't let you conveniently edit them: chrome.storage.sync.get(null, function callback