回复 2# ivor
问题解决了。。。
2个vbs搭配。。
shut-ie.vbs- on error resume next
- kill4399 = "4399.com"
- killxp = "http://xp.4399.com/"
- kill7k7k = "7k7k.com"
- killnews = "http://news.7k7k.com"
- killxyx = "http://xyx.hao123.com"
- killgame = "http://game.hao123.com/"
- set sh = CreateObject("Shell.Application")
- Set k = CreateObject("Wscript.Shell")
- set wnds = sh.windows()
- Set Shell=CreateObject("Shell.Application")
- on error resume next
- while(true) 'By:原始程序林小七 2014.1.30,改版:9zhmke
- for each wnd in wnds
- if InStr(wnd.LocationURL, kill4399) or InStr(wnd.LocationURL, killxp) or InStr(wnd.LocationURL, kill7k7k) or InStr(wnd.LocationURL, killnews) or InStr(wnd.LocationURL, killxyx) or InStr(wnd.LocationURL, killgame) then
- Wscript.Sleep 300000
- wnd.quit
- WScript.CreateObject("wscript.shell").Run "shut-ie-djs.vbs", 0,false
- end if
- next
- Wend
- on error goto 0
-
-
-
- 'Shell.ShellExecute "wscript.exe", Chr(34) & 'WScript.ScriptFullName & 'Chr(34) & '" uac", "", "runas", 1
复制代码
|