如何在WinForms中完全在WebBrowser上禁用javascript?
You can't. Client apps cannot disable JavaScript in the browser.
有了这个,你可以从JavaScript禁用警告
webBrowser.ScriptErrorsSuppressed = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.