Thanks Antony, I think this will solve my problem.

2009/11/9 Antony Sargent <asarg...@chromium.org>

> There's no option to do either of the things you describe, but here's a
> feature that may be useful depending on what you're trying to accomplish:
>
> The extension pages (background pages, popups, and any tabs opened to a
> ?chrome-extension://YOUR_ID/.." url) can all get direct access to the
> javascript global object for each other.
>
> For instance, say I'm doing something like checking an rss feed or twitter
> account or whatever in my background page, and keeping the results in a
> javascript variable called "results". Then in my popup I could do:
>
> var results = chrome.extension.getBackgroundPage().results;
> // do something to display results
>
> You can even call functions too, eg.
>
> chrome.extension.getBackgroundPage().myFunction();
>
>
>
> http://code.google.com/chrome/extensions/extension.html#method-getBackgroundPage
>
> <http://code.google.com/chrome/extensions/extension.html#method-getBackgroundPage>
>
> http://code.google.com/chrome/extensions/extension.html#method-getExtensionTabs
>
>
> On Fri, Nov 6, 2009 at 6:56 PM, Pedro Junior <v.ju.ni.o...@gmail.com>wrote:
>
>>
>> Hi,
>>
>> There's a way to keep running a Browser Action Popup in background?
>> Or maybe show background script as a popup?
>>
>> Thanks...
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensions@googlegroups.com
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to