How do I reach variables in a chrome extension popup localStorage from content scripts?

Viewed 3059

I have stored some options in my chrome extension. Using localStorage.setItem().

But when I want to use them on a page, it's not working. I know it's because they are totally in different domains, but how can I reach the settings in my chrome extension domain from any other domain (in my page scripts).

Thanks,

2 Answers
Related