Chrome Extension Storage

Modified on Thu, 12 Oct, 2023 at 1:45 PM

Newired Chrome extension stores Configuration URL in its local storage by key NW_extension_config_url

Value could be checked in the Background page of extension by calling command in Background page console:


chrome.storage.local.get(function(result){console.log(result)})

Or

chrome.storage.local.get(["NW_extension_config_url"],(result) => {
  console.log("Value:", result);
});


Value can be seen by command:

chrome.storage.local.set({"NW_extension_config_url":{"url":"<new_URL>","timestamp":"1697090695397"}},() => {
  console.log("Value is set.");
});

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article