Hi folks. I need some ubiquity/moz clues: is there an easy way to wire
things up so that Ubiquity can access the state of another running
Firefox extension? Specifically I want to make a Ubiquity view into the
http://www.w3.org/2005/ajar/tab (and we can make changes to tabulator to
facilitate this if needed, i'm sure).
I guess this would involve the extension exposing an XP-COM API?
Something along the lines of
https://developer.mozilla.org/en/How_to_Build_an_XPCOM_Component_in_Javascript
Context: the tabulator extension will scoop up and aggregate all kinds
of interesting data as you wander around the Web. And it has its own
HTML UI. But I'd like also to make a commandline Ubiquity view into the
data it collects. Since this is all in-memory in .js, a Ubiquity script
would need some API into the state of the running extension. From all I
know about Moz, XPCOM is the only way to do this. Am I right in thinking
that Ubiquity scripts all still have Chrome privileges and could
therefore call any XPCOM API we expose?
thanks for any pointers,
cheers,
Dan
ps. nearby in the Web - http://code.google.com/p/rdfquery/wiki/RdfPlugin
- same data but exposed through jquery-based API.