On Mon, 30 Jul 2007, [EMAIL PROTECTED] wrote: > Is it possible to use the javascript DOM functions getElementById > etc. to fill-in forms with gtk Mozembed.
There's a supposedly "internal" function gtk_moz_embed_get_nsIWebBrowser(embed, &browser); where browser is a nsIWebBrowser. Call GetContentDOMWindow on that to get a nsIDOMWindow. That is the 'window' object in JavaScript. On that, call GetDocument to get a nsIDOMDocument. That is the 'document' object in JavaScript. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
