I’m new to this so excuse me.
Im storing values inside the chrome storage api using chrome.storage.local in one of my scripts that i run in the popup. how would i get my content script to pull that value from the chrome storage or is this just not possible.
for example:
popup.js
chrome.storage.local.set({‘wins’:value})
contentscript.js
chrome.storage.local.get([‘wins’], function(result) {
numberwins = result.key
console.log(‘You have ‘ + result.key);
});