Re: Is possible to interacts Java and Firefox add-ons with JavaXPCOM or with another way?

Javier Pedemonte <[email protected]>
Newsgroups gmane.comp.mozilla.devel.oji
Message-ID <[email protected]>
rafart wrote:
> I'm trying to open a firefox add-on and manipulate it with Java, for
> example: Open the Firebug add-on, get its results and generate a
> report with these results.

JavaXPCOM cannot do this.  Currently, you can only use JavaXPCOM to 
embed Mozilla (through XULRunner) in a Java application.

You might be able to do it in JavaScript, though.  But I'm not sure what 
interfaces there are to automate the opening of add-ons.  You can try 
asking in the mozilla.dev.embedding or mozilla.dev.apps.firefox newsgroups.

If you need to use Java, you can call Java from JavaScript using 
LiveConnect: 
http://developer.mozilla.org/en/docs/Java_in_Firefox_Extensions.


javier pedemonte
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.