Content scripts run in the same content as the web page, so in order to
change something, you have to send a message to the extension (to a backend
HTML with a script that receives the message), so it would do the work for
the content script. If it worked
otherwise, any webpage could control the tabs\windows\bookmarks\any exposed API.

☆PhistucK


On Thu, May 14, 2009 at 13:10, Lex1 <[email protected]> wrote:

>
> @Aaron Boodman:
> Thanks.
>
> Another question. ≪chrome.tabs≫ is not available from content scripts.
> Bug or feature?
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to