D
D
Dmitry Sergeev2019-03-23 22:29:49
JavaScript
Dmitry Sergeev, 2019-03-23 22:29:49

Where can I see browser.storage.local in Developer Tools?

At the moment in Firefox in the Developer Toolses in the Storage tab I see
Indexed DB
Cookies
Local storage
Session storage
Cache storage
I can't find the data in any section, which I set with:
browser.storage.local.set({'test2': 'asdasddsadas'})
And they are
value = await browser.storage.local.get('test2');
Object { test2: "asdasddsadas" }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2019-03-23
@JetMaster

this storage only works in extensions if they are allowed access.
I didn’t find it anywhere in devtools, but you can get all the data by requesting browser.storage.local.get()
https://developer.mozilla.org/en-US/docs/Mozilla/A...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question