Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chrome storage sync example

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