Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);});
Source by developer.chrome.com #
 
PREVIOUS NEXT
Tagged: #chrome #storage #local
ADD COMMENT
Topic
Name
5+1 =