I have created a web with jwt files in local storage. And I want to make an extension that automatically logs in to the admin page by importing the jwt file through the chrome extension. Is it possible to access the local storage of the web with a chrome extension and get information?
Asked
Active
Viewed 162 times
1
-
1Yes, your content script can access it, then send a message. – wOxxOm Aug 26 '21 at 05:46
-
sorry, i didn't understand well, what means sending a message? – mangomango Aug 26 '21 at 05:52
-
https://developer.chrome.com/extensions/messaging – wOxxOm Aug 26 '21 at 06:15
-
if the website, not a content script, store it in the local storage, you can not access it: related: https://stackoverflow.com/questions/5988612/do-popup-html-and-background-html-share-the-same-local-storage – ste-xx Aug 26 '21 at 09:21