PageSourceSearch

https://oss.zhidx.com/static/ab/zhidxad.js?b=a1

js zhidx.com collected 2026-10-01 12:20:00 UTC 3,359 bytes, 1 lines download raw bytes

1(()=>{function n(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}fetch("//oss.zhidx.com/static/ab/index.json",{}).then((function(n){return n.json()})).then((function(t){var e=function(){if(t&&t.link){t.btn_name=t.btn_name||"观看直播";var n='\n<style>\n  .zdx-ab {\n    position: fixed;\n    right: 5px;\n    bottom: 20px;\n    width: 308px;\n    height: 218px;\n    z-index: 999;\n    display: block;\n    text-decoration: none;\n  }\n  .zdx-ab-top {\n    overflow: hidden;\n    width: 308px;\n    height: 218px;\n    border-radius: 5px;\n  }\n  .zdx-ab-top img {\n    width: 308px;\n    height: 218px;\n  }\n  .zdx-ab-close {\n    position: absolute;\n    width: 63px;\n    height: 16px;\n    color: #fff;\n    font-size: 10px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: rgba(0, 0, 0, .5);\n    right: 0;\n    top: -24px;\n    cursor: pointer;\n  }\n</style>\n<a class="zdx-ab" href="'.concat(t.link,'" target="_blank">\n  <div class="zdx-ab-close">✖关闭窗口</div>\n  <div class="zdx-ab-top">\n    <img src="').concat(t.pc_bottom_banner,'" alt="">\n  </div>\n</a>\n    ');document.body.insertAdjacentHTML("afterbegin",n);var e=document.querySelector(".zdx-ab");document.querySelector(".zdx-ab-close").addEventListener("click",(function(n){return e.parentNode.removeChild(e),n.preventDefault(),!1}))}},r=function(){return window.screen.width<960},o=function(){if(t.link&&t.top_link){var n='<a href="'.concat(t.link,'" target="_blank" style="display: flex;align-items: center;justify-content: center;overflow: hidden">\n        <img src="').concat(t.top_link,'" style="max-height:64px;">\n    </a>');document.body.insertAdjacentHTML("afterbegin",n)}},i=function(){if(t.link&&t.mb_top_link){var n='<a href="'.concat(t.link,'" style="display: block;">\n        <img src="').concat(t.mb_top_link,'" style="display: block;width:100vw;margin: 0 auto;">\n    </a>');document.body.insertAdjacentHTML("afterbegin",n)}};if(t.content&&Array.isArray(t.content)){var a,c=location.origin+location.pathname,l=function(n,t){return!!n&&(t()||!0)},s=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var n=r.next();return c=n.done,n},e:function(n){l=!0,a=n},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw a}}}}(t.content);try{for(s.s();!(a=s.n()).done;){var d=a.value;if((new RegExp("^".concat(d.path,"$")).test(c)||/localhost/.test(location.href))&&[l(!r()&&1===t.state,e),l(!r()&&1===t.top_state,o),l(r()&&1===t.mb_top_state,i)].some((function(n){return n})))break}}catch(n){s.e(n)}finally{s.f()}}}))})();

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.