//用来替换alert函数,防止重复提示 webBrowser1.Document.InvokeScript("eval", new string[] { "window.alert = null;" });