Posted on 2011-11-18 15:30
沙漠中的鱼 阅读(2291)
评论(0) 编辑 收藏 所属分类:
javascript
<SCRIPT LANGUAGE="JavaScript">
<!--
var WshShell=new ActiveXObject("WScript.Shell");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\YouTest.com","");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\YouTest.com\\www","");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\YouTest.com\\www\\http","2","REG_DWORD");
alert("写入成功");
//-->
</SCRIPT>