1"use strict"; 2 3function getJsParam(jsName, paramName) { 4 var retJsonArr = [], 5 retVal = null; 6 var rName = new RegExp(jsName + "(\\?(.*))?$"); 7 var jss = document.getElementsByTagName("script"); 8 9 for (var i = 0; i < jss.length; i++) { 10 var j = jss[i]; 11 12 if (j.src && j.src.match(rName)) { 13 var oo = j.src.match(rName)[2]; 14 var t = void 0, 15 r = void 0; 16 17 if (oo && (t = oo.match(/([^&=]+)=([^=&]+)/g))) { 18 for (var l = 0; l < t.length; l++) { 19 r = t[l]; 20 var tt = r.match(/([^&=]+)=([^=&]+)/); 21 22 if (tt) { 23 retJsonArr.push({ 24 key: tt[1], 25 val: tt[2] 26 }); 27 28 if (paramName != undefined && paramName.length > 0 && paramName == tt[1]) { 29 retVal = tt[2]; 30 } 31 } 32 } 33 } 34 } 35 } 36 37 return paramName != undefined && paramName.length > 0 ? retVal : null; 38} 39 40var id = getJsParam("im.js", "id"); 41 42if (id != null) { 43 window.localStorage.setItem("serviceId", id); 44} 45 46var service = getJsParam("im.js", "service"); 47 48if (service != null) { 49 window.localStorage.setItem("service", service); 50} 51// å¼¹åºçªè®¾ç½® 52var popwin = getJsParam("im.js", "popwin"); 53if (popwin != null) { 54 window.localStorage.setItem("popwin", popwin); 55} 56// 询çé®ç®±è®¾ç½® 57var panelEmail = getJsParam("im.js", "panelEmail"); 58if (panelEmail != null) { 59 window.localStorage.setItem("panelEmail", panelEmail.toString().toLocaleLowerCase()); 60} 61 62var css = document.createElement("link"); 63css.href = "/Content/kcim/visitor68/css/app.css"; 64css.rel = "stylesheet"; 65document.head.appendChild(css); 66var div = document.createElement("div"); 67div.id = "jljw_IM_GdImBox"; 68document.body.appendChild(div); 69 70var script = document.createElement("script"); 71script.src = "/Content/kcim/visitor68/js/chunk-vendors.js"; 72document.body.appendChild(script); 73 74var app = document.createElement("script"); 75app.src = "/Content/kcim/visitor68/js/app.js"; 76document.body.appendChild(app);
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.