0

I ran the code below in the background of my chrome extension:

const value = 'value';

chrome.storage.sync.set({key: value}, function() {
  console.log('Value is set to ' + value);
});

chrome.storage.sync.get(['key'], function(result) {
  console.log('Value currently is ' + result.key);
});

The value was saved even after closing and opening the browser. I would like to know where the data was stored and how can I view it using devTools

John Simon
  • 149
  • 7
  • 1
    Please read this. [How do I view the storage of a Chrome Extension I've installed?](https://stackoverflow.com/questions/11922964/how-do-i-view-the-storage-of-a-chrome-extension-ive-installed) – Norio Yamamoto Nov 03 '22 at 05:33

0 Answers0