你改一改就应该可以点中那个"跟我洽谈"了:
#include <IE.au3>
$oIE = _IECreate("http://search.china.alibaba.com/selloffer/rfid/1.html?max_cat_id=1033180&offset=2",0,1,1,0)
Dim $string = '', $i = 0
$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found")
For $oLink In $oLinks
If StringInStr($oLink.href, 'javascript:')<> 0 And StringInStr($oLink.href, 'isOnline')<> 0 Then
If StringInStr($string, $oLink.href) Then
;~ _IEAction($oLink, 'click')
ContinueLoop
Else
$i += 1
$string &= $i & '=' & $oLink.href & @CRLF
EndIf
EndIf
Next
MsgBox(64, "Link Info", '共有"谈生意"链接:' & $i & @CRLF & $string)
|