Webmaster Statistics JS Source code

Source: Internet
Author: User

function Gv_cnzz (OF) {
var es = document.cookie.indexOf (";", of);
if (es==-1) es=document.cookie.length;
Return unescape (document.cookie.substring (of,es));
}
function Gc_cnzz (n) {
var arg=n+ "=";
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 Gv_cnzz (j);
I=document.cookie.indexof ("", i) +1;
if (i==0) break;
}
return-1;
}
var ed=new Date ();
var now=parseint (Ed.gettime ());
var agt=navigator.useragent.tolowercase ();
var data= ' &agt= ' +escape (AGT) + ' &r= ' +escape (document.referrer) + ' &an= ' +escape (navigator.appname) + ' &lg= ' +escape (navigator.systemlanguage) + ' &os= ' +escape (navigator.platform) + ' &av= ' +escape ( navigator.appversion) + ' &ntime=0.61814200 1220859864 ';
var cnzz_a=gc_cnzz ("cnzz_a759808");
if (cnzz_a!=-1) cnzz_a=parseint (cnzz_a) +1;
else cnzz_a=0;
var rt=parseint (Gc_cnzz ("Rtime"));
var lt=parseint (Gc_cnzz ("Ltime"));
var eid=gc_cnzz ("Cnzz_eid");
if (eid==-1) Eid=math.floor (Math.random () *100000000) + "-" +document.referrer;
if (lt<1000000) {rt=0;lt=0;}
if (rt<1) rt=0;
if (((NOW-LT) >500*86400) && (lt>0)) rt++;
data=data+ ' &repeatip= ' +cnzz_a+ ' &rtime= ' +rt+ ' &cnzz_eid= ' +escape (Eid) + ' &showp= ' +escape ( screen.width+ ' x ' +screen.height);
document.write (' <a href= "http://www.cnzz.com/stat/website.php?web_id=759808" Target=_blank title= "Webmaster Statistics" > Webmaster Statistics </a> ');
document.write (' var et= (86400-ed.gethours () *3600-ed.getminutes () *60-ed.getseconds ());
Ed.settime (now+1000* (Et-ed.gettimezoneoffset () *60));
Document.cookie= "cnzz_a759808=" "+cnzz_a+"; expires= "+ed.togmtstring () +"; path=/";
Ed.settime (now+1000*86400*182);
Document.cookie= "Rtime=" +rt+ "expires=" +ed.togmtstring () + ";p ath=/";
Document.cookie= "Ltime=" +now+ "expires=" + ed.togmtstring () + ";p ath=/";
Document.cookie= "cnzz_eid=" +escape (Eid) + "expires=" +ed.togmtstring () + ";p ath=/";
document.write (' ');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.