local storage in google chrome javascript code example
Example: chrome storage local example
chrome.storage.local.set({key: value}, function() { console.log('Value is set to ' + value);});chrome.storage.local.get(['key'], function(result) { console.log('Value currently is ' + result.key);});