I use in an WPF project a XAML-components with a WebBrowser Control. In it, I load a page by the user is prompted to enter login information. After the login procedure, I get a JavaScript error message. I trace the Web page in Internet E开发者_如何学Pythonxplorer, this error message by the settings of Internet Explorer is suppressed. Is it possible to suppress this error message in my WebBrowser control?
You can try my solution using a script or this one Based on reflection to set the silent property of web browser control
精彩评论