The above code will only append the js function how will it get called
or executed.

It'll get executed simply because it's inserted into the document. I'm not really sure what you're trying to do, though. Interacting directly with web pages is generally tricky. If it's your own JS, you can make a component and call it from C++, though. See http://developer.mozilla.org/en/docs/How_to_Build_an_XPCOM_Component_in_Javascript.

-Eli
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to