To set

chrome.storage.sync.set({ mytext: txtValue });


To get

chrome.storage.sync.get('mytext', function(data) {
	yourTextArea.value = data.mytext;
});


  • No labels