Jump to content
  • Advertisement
Sign in to follow this  

C# and JavaScript = Evil.

This topic is 4817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!