On Wed, Jun 17, 2009 at 1:18 PM, Shane Tomlinson<[email protected]> wrote:
> Hey, thanks for the quick reply Aaron,
>  Yeah, I've gotten communication going from the content script back
> to the main extension, I am just looking for a way to go the reverse
> direction.  I know I could inject an absolutely positioned button
> directly into the web page I am trying to modify in the end anyways,
> so it wouldn't be a huge deal either way, I was just hoping I could
> use what is set up with the extension toolstrip to be able to do this.

Ok, for now, if you want to communicate from extension->content
script, you need to have the content script first contact the
extension. Then the extension can reply.

> And to answer your question, the reason I thought that tab MIGHT have
> a postMessage is because of some old docs I had saved that had what
> Vasanth wrote - the
>   'extension.currentTab.postMessage("autolink");'

We do want to do this soon!

- a

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

Reply via email to