开发者

Suppress WebBrowser JavaScript message error

开发者 https://www.devze.com 2023-03-19 22:59 出处:网络
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 messag

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

0

精彩评论

暂无评论...
验证码 换一张
取 消