0

Hello im creating a chrome extension, and I save data (username, avtarUrl etc) in localStorage but i want to share/send this data in the localStorage of my localhost too.

How can i do that ?

x98
  • 111
  • 2
  • 11
  • To read/write localStorage of a web page on localhost you need a [content script](https://developer.chrome.com/extensions/content_scripts) that matches localhost, see [how to access the webpage DOM?](/a/4532567). – wOxxOm May 02 '20 at 16:31
  • https://developer.chrome.com/extensions/messaging – Oleg Butko May 02 '20 at 17:30

0 Answers0