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 ( 29 paramName != undefined && 30 paramName.length > 0 && 31 paramName == tt[1] 32 ) { 33 retVal = tt[2]; 34 } 35 } 36 } 37 } 38 } 39 } 40 41 return paramName != undefined && paramName.length > 0 ? retVal : null; 42} 43 44var id = getJsParam("im.js", "id"); 45 46if (id != null) { 47 window.localStorage.setItem("serviceId", id); 48} 49 50var service = getJsParam("im.js", "service"); 51 52if (service != null) { 53 window.localStorage.setItem("service", service); 54} 55// å¼¹çªè®¾ç½® 56var popwin = getJsParam("im.js", "popwin"); 57if (popwin != null) { 58 window.localStorage.setItem("popwin", popwin); 59} 60 61// é®ç®±è®¾ç½® 62// var panelEmail = getJsParam("im.js", "panelEmail"); 63// if (panelEmail != null) { 64// window.localStorage.setItem("panelEmail", panelEmail.toString().toLocaleLowerCase()); 65// } 66 67var lang = getJsParam("im.js", "lang"); 68 69if (lang == null) { 70 lang = window.navigator.language; 71} 72window.localStorage.setItem("lang", lang); 73 74var css = document.createElement("link"); 75css.href = "/Content/kcimai/42/css/app.css"; 76css.rel = "stylesheet"; 77document.head.appendChild(css); 78var div = document.createElement("div"); 79div.id = "jljw_IM_GdImBox"; 80document.body.appendChild(div); 81 82var script = document.createElement("script"); 83script.src = "/Content/kcimai/42/js/chunk-vendors.js"; 84document.body.appendChild(script); 85 86var app = document.createElement("script"); 87app.src = "/Content/kcimai/42/js/app.js"; 88document.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.