0

Pretty simple storage, just one string being saved into local storage:

    chrome.storage.sync.set({
        'current_lookup_details': 'a string'
    });

which I get with

chrome.storage.sync.get('current_lookup_details', function(result) {...})

but I wanted to clear it, while developing, and according to dev tools it's not there. Nothing appears in the Application tab, Local Storage, or any of the other storage options.

enter image description here

This is true in my background.html and my options page as well. It doesn't seem to be there and I can't clear it.

If I remove the extension from Chrome, and re-add it, the data is gone. But that's the only way I can remove it.

Do extensions have some special form of storage not accessible to the Dev Tools?

AmbroseChapel
  • 11,957
  • 7
  • 46
  • 68
  • The API documentation is just bad, it uses a misleading name for the storage. Devtools doesn't support it. See [this answer](https://stackoverflow.com/a/32471596/) for a solution. – wOxxOm Apr 25 '19 at 08:18
  • Thanks, that does indeed answer my question, all good and I'm inspecting away. https://chrome.google.com/webstore/detail/storage-area-explorer/ocfjjjjhkpapocigimmppepjgfdecjkb is the TLDR. – AmbroseChapel Apr 25 '19 at 09:20

0 Answers0