local storage in chrome code example
Example 1: 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);});
Example 2: store data in localstorage chrome as per address bar url using javascript
localStorage.setItem('fullName', 'Jenny Smith');