在构造函数中加入: webBrowser.ScriptErrorsSuppressed = true; 转载于:https://www.cnblogs.com/simonryan/p/3667923.html