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.

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");'

Again, keep up the great work with this and thanks again!

Shane

On 17 June, 18:56, Aaron Boodman <[email protected]> wrote:
> postMessage() is the way to do this, but the tab object doesn't
> (currently) have apostMessage() method. What made you think it does?
> If there were some docs that implied this, I'm sorry, we'll definitely
> fix those.
>
> Anyway, the way to do this is to setup a content script to be injected
> into the pages you're interested in. For more detail on that, take a
> look 
> at:http://dev.chromium.org/developers/design-documents/extensions/conten...

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

Reply via email to