找回密码
 加入
搜索
查看: 2413|回复: 5

[网络通信] 如何关闭弹窗?

  [复制链接]
发表于 2011-11-24 05:49:26 | 显示全部楼层 |阅读模式
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 618, 442)
$Group1 = GUICtrlCreateGroup("", 8, 0, 601, 433)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
_IEErrorHandlerRegister ()
$oIE = _IECreateEmbedded ()
GUICtrlCreateObj($oIE, 9, 6, 600, 426)
_IENavigate ($oIE, "http://www.d9v.org")
While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd
如何在不影响正常浏览网页的情况下关闭弹窗?
发表于 2011-11-24 10:45:24 | 显示全部楼层
下载网页源码到本地,正则,显示到gui ..
不知道可行否
发表于 2011-11-24 13:19:20 | 显示全部楼层
下载网页源码到本地,正则,显示到gui ..
不知道可行否
amxi 发表于 2011-11-24 10:45



    源码怎么显示到gui?我一直想知道的
发表于 2011-11-27 18:50:20 | 显示全部楼层
多上传源代码咔
发表于 2011-11-27 21:54:38 | 显示全部楼层
发表于 2011-11-28 09:42:16 | 显示全部楼层
在DOM中,把弹窗的javascript函数咔嚓掉就行了吧,我有个在线挂课时的东东就是这么弄得
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-6-17 11:26 , Processed in 0.084503 second(s), 25 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表