Aaron, PhistucK,
thanks for your answers

I suspected that the data flow would be
bookmarklet->web-page->content-script->extension (see my first post)
A custom event (as shown in
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/content_scripts.html)
seems appropriate.

The only question I have now: how to make this work if current page is
not a web-page, e.g. about:blank or chrome-extensions://? Will I have
to load some page from http://...?


Denis

On Aug 27, 2:01 am, Aaron Boodman <[email protected]> wrote:
> On Wed, Aug 26, 2009 at 12:30 PM, PhistucK<[email protected]> wrote:
> > He wants a bookmark folder structure inside the toolstrip (that clicking a
> > toolstrip button will open sort of a bookmark(lets) folder).
>
> I see. Ok that is not possible yet. When we have moles, it will be
> (beta timeframe).
>
> In that case, 
> seehttp://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensi...
> for some light docs on how to communicate between a web page (the
> bookmarklet is basically part of the web page) and a content script.
> The content script can in turn communicate with the extension.
>
> I know this overly arduous. We are working on a better API for web
> pages that want to talk to extensions, but it doesn't exist yet:
>
> http://code.google.com/p/chromium/wiki/InterExtensionCommunication
>
> - a
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to