C# and JavaScript = Evil.
It would seem that once again JS is the bane of my life...
Heres the deal:
I have a tool that captures data sent to and from a webserver from a browser. The browser is an AxSHDocVw.WebBrowser object embeded into my application. Everything works as intended until I come to a page with javascript methods on it, in particular the window.close() method. When my application catches a popup it replicates itself and carries on collecting the data, however when it comes to the window.close() method being evaluated, the whole application closes down? Argh!
Does anyone have any info about how to stop particulart javascript, or js as a whole?
I would've caught the issue and deblt with it in the WindowClosing method for the webbrowser, but due to a bug in .NET the event doesn't get fired..
Thanks in advance.
Lokes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement