积极答复者
如何实现在System.Windows.Forms.WebBrowser中屏蔽alert的窗口

问题
答案
-
实现IDocHostShowUI。参考http://www.codeproject.com/KB/miscctrl/csEXWB.aspx
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- 已建议为答案 Raymond TangModerator 2010年1月4日 1:22
- 已标记为答案 YiChun Chen 2010年1月5日 9:44
-
你好!
尝试把WebBrowser控件的ScriptErrorsSuppressed属性设置为true
周雪峰- 已建议为答案 Raymond TangModerator 2010年1月4日 1:22
- 已标记为答案 YiChun Chen 2010年1月5日 9:44
全部回复
-
实现IDocHostShowUI。参考http://www.codeproject.com/KB/miscctrl/csEXWB.aspx
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- 已建议为答案 Raymond TangModerator 2010年1月4日 1:22
- 已标记为答案 YiChun Chen 2010年1月5日 9:44
-
你好!
尝试把WebBrowser控件的ScriptErrorsSuppressed属性设置为true
周雪峰- 已建议为答案 Raymond TangModerator 2010年1月4日 1:22
- 已标记为答案 YiChun Chen 2010年1月5日 9:44