貌似没有问题,只是那个JS加了密而已
- hdturl=escape(hdturl);if(p_ip=='218.242.156.148')Is_Test='On';else Is_Test='Off';Is_Test='On';if(typeof(is_demo)=='undefined'){if(Is_Test=='On'){document.write("");var browserinfo=navigator.appVersion;var browserinfos=browserinfo.split(';');var browserversion;var platform;if(navigator.appName=="Netscape"){browserversions=browserinfos[0].split('(')[0].replace(' ','');platform=browserinfos[0].split('(')[1].replace(' ','')}
- else{browserversions=browserinfos[1].split(' ');browserversion=browserversions[2];platform=browserinfos[2].replace(' ','')}
- document.write("")}
- }
- else{document.write("")}
- var ifplay;var playtimes;var ifocus_total_playtimes;var exp=new Date();exp.setTime(exp.getTime()+(24*60*60*1000));if(lADID*1>0){if(GetCookies('playtimes')==null){ifplay='YES';SetCookies('playtimes',1,exp)}
- else{playtimes=GetCookies('playtimes');if(playtimes*1<2){ifplay='YES';SetCookies('playtimes',playtimes*1+1,exp)}
- else{ifplay='NO';SetCookies('playtimes',2,exp)}
- }
- ifocus_total_playtimes=GetCookies('ifocus_total_playtimes');SetCookies('ifocus_total_playtimes',ifocus_total_playtimes*1+1,exp)}
- else{ifplay='NO'}
- function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr))}
- function GetCookies(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break}
- return null}
- function SetCookies(name,value){var argv=SetCookies.arguments;var argc=SetCookies.arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;document.cookie=name+"="+escape(value)+((expires==null)?"":("; expires="+expires.toGMTString()))+"; path=/"+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"")}
复制代码 |