Old question, Embed javascript extension

Xijing Dai <[email protected]>
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <b93c0b62-3128-4144-8830-1ca3e8ed116a@k14g2000pre.googlegroups.com>
Hey all,

I have a questions about javascript extension after you embeding the
xulrunner.

so far, i found that if you want to write a extension to the
javascript, u have to create a component, isn't it?

Is there any easy way to do it?

For example: in the IE, there is document.external, which u can simply
provide a javascript extension from c++ code.

secondly, i am new to xulrunner, i found it's hard to execute a
javascript code from C++, any directions?

Thirdly, if I want to save the current page view as a picture, which
interface should I use? any direction?

Thanks!

Cheers.
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.