webbrowser,弹出窗口的问题
个人用webbowser写了个批量注册163的东西,用自动填表的方法,现在遇上个问题,有时候申请邮箱成功时会弹出360浏览器,显示登陆超时,如图。试过以下几种方法,都不能...
个人用webbowser写了个批量注册163的东西,用自动填表的方法,现在遇上个问题,有时候申请邮箱成功时会弹出360浏览器,显示登陆超时,如图。试过以下几种方法,都不能解决问题,求助大师。
1.WebBrowser1.Silent = True2.Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant)WebBrowser1.Document.parentWindow.execScript "window.alert=null;"WebBrowser1.Document.parentWindow.execScript "window.confirm=null;" WebBrowser1.Document.parentWindow.execScript "window.showModalDialog=null;End Sub3.Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)Cancel = TrueWebBrowser1.Navigate2 WebBrowser1.Document.activeElement.hrefEnd Sub4.清除ie cookie 展开
1.WebBrowser1.Silent = True2.Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant)WebBrowser1.Document.parentWindow.execScript "window.alert=null;"WebBrowser1.Document.parentWindow.execScript "window.confirm=null;" WebBrowser1.Document.parentWindow.execScript "window.showModalDialog=null;End Sub3.Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)Cancel = TrueWebBrowser1.Navigate2 WebBrowser1.Document.activeElement.hrefEnd Sub4.清除ie cookie 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询