PageSourceSearch

https://lens-labo.com/js/zip.js?20261006035821

js lens-labo.com collected 2026-10-06 06:59:14 UTC 1,982 bytes, 50 lines download raw bytes

1// ******************************************************************************************
2//                                               
3// ApplicationName   FLens-Labo.com                          
4//                                               
5// FileName           Fzip.js                              
6//                                               
7// Function           F—X•֔ԍ†ŒŸõJavaScript                          
8//                                               
9// Author             F2017/11/30 Tatsuhiro Ishigaki
10//                                               
11// ******************************************************************************************
12<!--
13
14 var searchZip = function(vl,frNm,pNm,a1Nm,a2Nm) {//ˆø”(—X•֔ԍ†,form–¼,“s“¹•{Œ§object–¼,Žs‹æŒSobject–¼,’¬‘ºŽš”Ô’n,object–¼)
15    var obj = document.forms[frNm];
16    var url = '/common/search_Zip.cfm';
17    var request = new XMLHttpRequest();
18    var data = "zip=" + vl;                    //—X•֔ԍ†
19    request.open("POST", url, true);
20    request.onreadystatechange = function (data) {
21      if (request.readyState === 4) {
22        if (request.status === 200) {
23            var rtnValue = request.responseText.split(':');
24            if(rtnValue[0]=='1'){
25              obj.elements[pNm].value = rtnValue[1];
26              obj.elements[a1Nm].value = rtnValue[2];
27              obj.elements[a2Nm].value = rtnValue[3];
28            }
29        } else {
30            alert(2);
31//            alert(request.responseText ); // => Error Message
32        }
33      }
34    };
35    request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
36    request.send(data);
37
38  }
39  
40  //‚±‚̏ˆ—‚ð‚µ‚È‚¢‚Æ‘z’肵‚½Œ`‚Å‘—M‚³‚ê‚È‚¢
41  var parseJson = function(data) {
42      var returnJson = {};
43      for (idx = 0; idx < data.length; idx++) {
44          returnJson[data[idx].name] = data[idx].value
45      }
46      return returnJson;
47  }
48
49//-->
50    

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.