So, I have a chrome extension that does various things to a site. What I would like to do is rewrite it, to make it cleaner and more relevant, so I started. I have what content script, and it is 'infuse.js' which injects another file t3.js, into the website.
My question is - is there any way to pass data from localStorage to t3.js?
I have sendRequest and a response set up, so infuse.js can read the storage, but, if I try to do a sendRequest from t3.js, it obviously comes up as undefined as it isn't a content script, and thusly does not have access the API.
Let me know if you know anything.