Hmm... Apparently, I misunderstood: ≪Each content script executes in
its own distinct context, separate from the JavaScript that is part of
web pages, and from every other content script.≫

PhistucK:
> 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

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

Reply via email to