//注册表路径
var hkey_root,hkey_path,hkey_key;
hkey_root="HKEY_CURRENT_USER";
hkey_path="SoftwareMicrosoftInternet ExplorerPageSetup";
//设置页眉页脚为空
function PageSetup_Null()
...{
try...{
var RegWsh = new ActiveXObject("WScript.Shell");
hkey_key1="header";
hkey_key2="footer";
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key1,"");
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key2,"");
}catch(e)...{}
}
//设置页眉页脚为默认值
function PageSetup_...[ 查看全文 ]