PageSourceSearch

https://css.cache.jj.cn/js/jjmatch/utf8/core/network.js

js jj.cn collected 2026-10-04 02:50:16 UTC 3,244 bytes, 1 lines download raw bytes

1!function(e){"use strict";function t(e){var t,n,a,o,r,s=[];if(e&&e.data){if("string"==typeof e.data){for(e.data=e.data.split("&"),t=0,n=e.data.length;t<n;t++)a=e.data[t].split("=")[0],o=e.data[t].split("=")[1],e.data[t]=encodeURIComponent(a)+"="+encodeURIComponent(o);e.data=e.data.join("&")}else if("object"==typeof e.data){for(r in e.data)e.data&&e.data[r]&&(o=e.data[r].toString(),r=encodeURIComponent(r),o=encodeURIComponent(o),s.push(r+"="+o));e.data=s.join("&")}"get"!==e.type&&"jsonp"!==e.data_type||(e.url+=e.url.indexOf("?")>-1?"&"+e.data:"?"+e.data)}}function n(e){if("object"==typeof e)return e;if(window.JSON&&window.JSON.parse)return window.JSON.parse(e);try{return new Function("return "+e)()}catch(t){throw new Error("错误名字:"+t.name+".错误信息:"+t.message)}}function a(e,t){e&&e.timeout&&(l=setTimeout(function(){var n=e.xhr;"jsonp"===e.data_type?(!t.script.remove&&t.head_tag.removeChild(t.script),t.script.remove=!0):(p=!0,n&&n.abort()),e.error("无状态码","请求超时"),e.complete()},e.timeout))}function o(e){var t=document.createElement("script"),n=document.getElementsByTagName("head")[0],o=(new Date).getTime()+Math.round(1e3*Math.random()),r="JSONP_"+o;window[r]=function(a){clearTimeout(l);try{delete window[r]}catch(o){window[r]=null}!t.remove&&n.removeChild(t),t.remove=!0,e.success(a),e.complete()},t.src=e.url+(e.url.indexOf("?")>-1?"&":"?")+"callback="+r,t.type="text/javascript",n.appendChild(t),a(e,{callback:r,script:t,head_tag:n})}function r(e){var t,o,r=null,s=function(){if(window.XMLHttpRequest)return new XMLHttpRequest;for(o=["Microsoft","msxm3","msxml2","msxml1"],t=0;t<o.length;t++)try{return new ActiveXObject(o[t]+".XMLHTTP")}catch(e){}};if(r=s(),r.open(e.type,e.url,e.async),e.xhrFields&&"object"==typeof e.xhrFields)for(t in e.xhrFields)r[t]=e.xhrFields[t];if(e.headers&&"object"==typeof e.headers)for(t in e.headers)r.setRequestHeader(t,e.headers[t]);"post"!==e.type||e.content_type?e.content_type&&r.setRequestHeader("Content-Type",e.content_type):r.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=gbk"),r.onreadystatechange=function(){if(4===r.readyState){if(e&&e.timeout){if(p)return;clearTimeout(l)}r.status>=200&&r.status<300||304==r.status?"html"==e.data_type?e.success(r.responseText):e.success(n(r.responseText)):e.error(r.status,r.statusText),e.complete()}},r.send("get"===e.type?null:e.data),e.xhr=r,a(e)}function s(n){var a={url:n.url||"",type:n.type||"GET",data:n.data||null,content_type:n.contentType||"",data_type:n.dataType||"",timeout:n.timeout,headers:n.headers,xhrFields:n.xhrFields,async:n.async===e||!!n.async,before:n.before||function(){},error:n.error||function(){},success:n.success||function(){},complete:n.complete||function(){}};a.type=a.type.toLowerCase(),t(a),a.before(a),"jsonp"===a.data_type?o(a):r(a)}function c(e,t,n,a){f(t)&&("string"==typeof n&&(a=n),n=t,t=null),s({url:e,type:"GET",data:t,dataType:a,success:n})}function i(e,t,n,a){f(t)&&("string"==typeof n&&(a=n),n=t,t=null),s({url:e,type:"POST",data:t||null,dataType:a,success:n})}var d=window,u=d.jjmatch=d.jjmatch||{};if(!u.network){var p=!1,l=null,f=function(e){return"[object Function]"===Object.prototype.toString.call(e)};u.network={ajax:s,get:c,post:i}}}();

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.