本帖最后由 _ddqs. 于 2011-1-30 04:36 编辑
默认浏览器查询:[HKEY_CLASSES_ROOT\HTTP\shell\open\command]
@=""C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" -nohome"
$sysBrowser = RegRead("HKEY_CLASSES_ROOT\HTTP\shell\open\command","")
MsgBox(0,0,$sysBrowser)
$sysBrowser = RegRead("HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32","")
MsgBox(0,0,$sysBrowser)
$sysBrowser = RegRead("HKEY_CLASSES_ROOT\HTTP\shell\open\command","")
;$sysBrowser = RegRead("HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32","")
$sysBrowser = _RegStringSplit($sysBrowser)
;禁用浏览器
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" & $sysBrowser, "Debugger", "REG_SZ", "C:\禁止弹窗.exe")
;启用浏览器
;RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" & $sysBrowser )
MsgBox(0, 0, $sysBrowser )
Func _RegStringSplit($keyValue)
Local $ret
$ret = StringSplit($keyValue, """", 2)
$ret = StringMid($ret[1], StringInStr($ret[1],"",0,-1)+1, StringLen($ret[1]))
Return $ret
EndFunc
内嵌IE:
http://www.autoitx.com/forum.php ... amp;fromuid=7653769 |