问题:

我正在开发带有WebBrowser控件的Windows应用程序,该控件可导航到共享点站点。
我的问题是我遇到了JavaScript错误。

如何禁用JavaScript错误? 我不希望他们弹出。

I am developing a windows application with a WebBrowser control that navigates to a sharepoint site.My problem is that i am getting JavaScript error.How can i disable the JavaScript error?I don’t want them to pop up.