PageSourceSearch

https://swc-seikouen.jp/settsu-sakuraen/wcax.js

js swc-seikouen.jp collected 2026-10-07 03:22:07 UTC 2,256 bytes, 81 lines download raw bytes

1function Fgetunicode(str){
2	var moji;
3	var uni = "";
4	for( var i=0;i<str.length;i++){
5		moji = str.charCodeAt(i);
6		if(moji <= 255){
7			if(moji <=15){
8				uni = uni + "%0" + moji.toString(16);
9			} else if(moji >=48 && moji <=57){
10				uni = uni + str.charAt(i);
11			} else if(moji >=65 && moji <=90){
12				uni = uni + str.charAt(i);
13			} else if(moji >=97 && moji <=122){
14				uni = uni + str.charAt(i);
15			} else {
16				uni = uni + "%" + moji.toString(16);
17			}
18		} else {
19			uni = uni + "%u" + moji.toString(16);
20		}
21	}
22	return uni;
23}
24function mySetCookie(myCookie, path, myValue, myS){
25   var myExp = new Date();
26   myExp.setTime(myExp.getTime()+(myS*1000));
27   var myItem = "@" + myCookie + "=" + escape(myValue) + ";";
28   var myExpires = "expires="+myExp.toGMTString();
29   document.cookie =  myItem + "path="+path+";" + myExpires ;
30}
31function myGetCookie(myCookie){
32   var myCookie = "@" + myCookie + "=";
33   var myValue = null;
34   var myStr = document.cookie + ";" ;
35   var myOfst = myStr.indexOf(myCookie);
36   if (myOfst != -1){
37      var myStart = myOfst + myCookie.length;
38      var myEnd   = myStr.indexOf(";" , myStart);
39      myValue = unescape(myStr.substring(myStart,myEnd));
40   }
41   return myValue;
42}
43
44function FPathGet(){
45    var p = location.pathname ;
46    var r=p.substring(0,p.lastIndexOf("\/")+1);
47    return r;
48}
49function AxWrite(s0,pno){
50    var UcntCName=s0+"U_CNT";
51    var PcntCName=s0+"P_CNT"+pno;
52    var myUCnt = myGetCookie(UcntCName); 
53    if (myUCnt == null){
54       myUCnt = 0;
55    }
56    myUCnt = eval(myUCnt) + 1;
57    var myPCnt = myGetCookie(PcntCName);
58    if (myPCnt == null){
59       myPCnt = 0; 
60    }
61    myPCnt = eval(myPCnt) + 1;
62	if(location.protocol=='https:'){
63	  strProtocol ='https:';
64	} else {
65	  strProtocol ='http:';
66	}
67    document.write('<IMG src="'+strProtocol+'//analytics.global-websystem.net/wgsys/wgax2.php'
68    +'?name='+s0
69    +'&dadr='+Fgetunicode(document.URL)
70    +'&pno='+pno
71    +'&ucnt='+myUCnt
72    +'&pcnt='+myPCnt
73    +"&sw="+(screen.width)
74    +"&sh="+(screen.height)
75    +'&cd='+(screen.colorDepth)
76    +'&fadr='+Fgetunicode(document.referrer)
77    +'" width=0 height=0 style="border:0px;">');
78    mySetCookie(UcntCName,"/",myUCnt,30*60);
79    mySetCookie(PcntCName,FPathGet(),myPCnt,30*60);
80}
81

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.