I am using the SWT embedded mozilla browser widget in a Java application
and I am wondering if you can use Java methods as a library for
Javascript? Using the embedded widget I am able to get the nsIWebBrowser.
Is it possible from this object to inject things into the Java script
context. So for example, say I had a page like:
<body onload="doSomething()" >
.. page body ..
</body>
</html>
could doSomething() be a method on a Java object (maybe I would have to
qualify doSomething like myObject.doSomething()).
Cheers,
Ian
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding