How to easily capture the NewWindow event for the WebBrowser control and detect a JavaScript window.

Posted on Code Project See other posts from Code Project
Published on Thu, 08 Apr 2010 21:08:00 GMT Indexed on 2010/04/08 21:13 UTC
Read the original article Hit count: 205

Filed under:
This article describes a simple method of capturing a NewWindow event for the Windows Forms WebBrowser control, and also how to detect (and potentially cancel) a JavaScript window.close() call.

© Code Project or respective owner