PageSourceSearch

https://diskmirror.lingyuzhao.top/30/Binary/Article_Files_CY-Web/js/mainConfig1.js

js lingyuzhao.top collected 2026-10-06 13:18:01 UTC 4,077 bytes, 1 lines download raw bytes

1const particles_js=document.getElementById("particles-js"),title=index_config.title,welcome=index_config.welcome,bigImageUrl=index_config.bigImageUrl,welcome_click=index_config.welcome_click,diskMirror_url="https://www.lingyuzhao.top/DiskMirrorBackEnd/",diskMirror_sk=void 0===index_config.diskMirror_sk?1001101010:index_config.diskMirror_sk,domain=".lingyuzhao.top";window.onload=function(){particles_js.classList.add("move-from-sides_Y_1_e"),new DiskMirror(diskMirror_url).setSk(diskMirror_sk,domain);const e=document.querySelector("#particles-js");e.style.background=`url('${bigImageUrl}')no-repeat center`,e.style.backgroundSize="cover",document.querySelectorAll("title,.title").forEach(e=>e.innerText=title);const t=new JokerBox_popUp(document.getElementById("JokerBox_popUp_show_div")),i=document.querySelector(".data_area");let nowRow=-index_config.count;CY_Utils.setJsonLayer(index_config.layer_list);for(const d in index_config.css){document.getElementById(d).href=index_config.css[d]}let isAdded=false;let noData=false;let backgGetTime=new Date().getTime();let totalHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);let viewportHeight=window.innerHeight||document.documentElement.clientHeight;function getData(){if(noData){return}try{axios({url:'https://lsb.lingyuzhao.top:40043/LS-WebBackEnd//articleController/getByTopic',params:{topic:index_config.topic,nowRow:nowRow+=index_config.count,count:index_config.count}}).then(e=>{if("ok!!!!"===(e=e.data).RES){if(e.trends_all){if(0===e.trends_all.length){noData=true}else{0!==e.trends_all.length&&CY_Utils.init_date(i,e.trends_all)}}if(isAdded){return}let t=document.createElement("div");t.classList.add("container"),i.appendChild(t),CY_Utils.add_item(t,`url('${bigImageUrl}')no-repeat center`,"欢迎访问~",welcome,void 0,void 0,welcome_click);isAdded=true}else{t.show(JSON.stringify(e))}totalHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);viewportHeight=window.innerHeight||document.documentElement.clientHeight}).catch(e=>{let t=document.createElement("div");t.classList.add("container"),i.appendChild(t),CY_Utils.add_item(t,`url('${bigImageUrl}')no-repeat center`,"启动失败","axios 错误:"+e,CY_Utils.getDate(new Date));totalHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);viewportHeight=window.innerHeight||document.documentElement.clientHeight})}catch(e){let t=document.createElement("div");t.classList.add("container"),i.appendChild(t),CY_Utils.add_item(t,`url('${bigImageUrl}')no-repeat center`,"出现错误",e,CY_Utils.getDate(new Date));totalHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);viewportHeight=window.innerHeight||document.documentElement.clientHeight}}if(!(totalHeight>viewportHeight)){getData()}const move_click_function=function(){if('scrollBehavior'in document.documentElement.style){window.scrollTo({top:viewportHeight,behavior:'smooth'})}else{window.scrollTo(0,viewportHeight)}};document.querySelectorAll(".icon-text-icomoon_in_bigDiv,.icon-text-icomoon_in_bigDiv_NoAnimal").forEach(e=>e.addEventListener('click',move_click_function));window.addEventListener('scroll',function(){let scrollY=window.pageYOffset||document.documentElement.scrollTop;if(scrollY===0){document.querySelector(".nav_pc").style.height='70px'}else{document.querySelector(".nav_pc").style.height='0px';scrollY+=70}if(scrollY+viewportHeight>=totalHeight-10){if(new Date().getTime()-backgGetTime<2000){return}backgGetTime=new Date().getTime();getData()}})};

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.