1 2/* 3* @Author: yiruili 4* @Date: 2018-07-18 10:00:57 5* ·Ã¿Íͳ¼Æ 6*/ 7$(function () { 8 !function () { 9 var SiteStatsSign = readCookie("SiteStatsSignKey"); 10 if (!SiteStatsSign) { 11 writeCookie( 12 "SiteStatsSignKey", 13 hex_md5(user_name + (new Date()).valueOf() + GetRandomNum(10000, 99999)), 14 24 * 365 15 ); 16 SiteStatsSign = readCookie("SiteStatsSignKey"); 17 } 18 19 // IP, PV, ¶ÀÁ¢·Ã¿Í 20 siteStatsResponse("/Public/UserOperate.php", { 21 username: user_name, 22 rid: 1, 23 mobile: $('script#SiteStats').data("val") == 1 ? 1 : 0, 24 type: 1, 25 opt: 'ipv', 26 SiteStatsSign: SiteStatsSign, 27 t: Date.parse(new Date()) 28 }); 29 30 function siteStatsResponse (u, data, func) { 31 $.ajax({ 32 url: u, 33 type: 'POST', 34 dataType: 'json', 35 async: true, 36 data: data, 37 error: function (XMLHttpRequest, textStatus, errorThrown) {}, 38 success: function (res) { 39 typeof func === "function" && func(data); 40 } 41 }); 42 } 43 44 function GetRandomNum (Min, Max) { 45 var Range = Max - Min; 46 var Rand = Math.random(); 47 // return Min + Math.round(Rand * Range); 48 return Math.floor(Math.random() * (Max - Min) + Min) ; 49 } 50 }(); 51});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.