I am working on an extension, where the user inputs something into a
field in the popup.html.
I want to store this with localStorage and then use the value in the
content script.
I know I can't directly communicate between the content_script and
background.html, and the documentation on
code.google isn't clear ( at
least to me).
Any insight on how to pass a variable from the background.html to the
content.js?
I tried setting up a variable myVar = 'test'; and passing it with a
sendRequest but I'm not very clear on how to actually write this.
Any help would be much appreciated!
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to
chromium-...@chromium.org.
To unsubscribe from this group, send email to
chromium-extens...@chromium.org.
For more options, visit this group at
http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.