PageSourceSearch

https://dusays.com/js/navigation-init.js?v=2.0.0

js dusays.com collected 2026-10-01 12:23:52 UTC 1,485 bytes, 1 lines download raw bytes

1!function(){let e=()=>{};const t=new Set;function n(n={}){e();let o=location.hash.slice(1);try{o=decodeURIComponent(o)}catch(e){}const a=o&&document.getElementById(o),r=document.getElementById("main"),l=n.position,s=new URLSearchParams(location.search).has("kw")&&r?.querySelector("mark.tag-plugin.mark"),c=a||s||(n.partial?r:null),i=a&&"start"!==o?32:0,d=l?.x||0,m=new AbortController;let w,u,h=0,p=0,g=performance.now();const y=()=>{m.abort(),clearInterval(w),u?.disconnect()};e=y;for(const e of["wheel","touchstart","mousedown","keydown","pagehide"])window.addEventListener(e,y,{passive:!0,once:!0,signal:m.signal});n.partial&&r&&(r.setAttribute("tabindex","-1"),r.focus({preventScroll:!0}));const f=()=>{const e=Math.max(0,Math.min(l?l.y:c?c.getBoundingClientRect().top+scrollY-i:0,document.documentElement.scrollHeight-innerHeight));Math.abs(scrollY-e)>2?(window.scrollTo({left:d,top:e,behavior:"instant"}),h=0):h++,(++p>=50||h>=3&&0===t.size&&performance.now()-g>3e3)&&y()};if(a||l){try{u=new PerformanceObserver(()=>{g=performance.now()}),u.observe({entryTypes:["resource"]})}catch(e){}w=setInterval(f,600)}return f(),y}document.addEventListener("stellar:request-start",e=>
1t.add(e.detail.key)),document.addEventListener("stellar:request-end",e=>t.delete(e.detail.key)),window.stellar=window.stellar||{},window.stellar.positionPage=n,window.stellar.cancelPagePosition=()=>e(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>n(),{once:!0}):n()}();

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.