While developing VandalProof, it has become very obvious that being able to interact with the DOM of the displayed page will be vital to achieving the program’s goals. At this point, Gecko# does not offer any mechanism by which I can do this.
I talked with mikalh in #mono for a while, and he referred me to jscall, which I had been investigating earlier. Unfortunately this does not suit my needs, because it requires that a short JavaScript glue library be present on the page to work. But with further digging, it may be possible to execute arbitrary JavaScript on any page in Gecko# by making calls to C++ world, which would in turn use nsIScriptLoader to run the script.
More when/if I get it working.
Did you ever get this to work? I’m very interested in controlling webpages with gecko from .NET.
Thanks!
@Simon:
Yes, in particular see this later post: http://www.chrishowie.com/2007/05/08/glue-free-jscall/