PageSourceSearch

https://juginfo.hr/wp-content/cache/min/1/js/history_back_ad.js?ver=1782665150

js juginfo.hr collected 2026-10-02 21:14:10 UTC 1,493 bytes, 5 lines download raw bytes

1const landingUrl=window.location.href.replace(/\/$/,'');const currentUrl=window.location.href.replace(/\/$/,'');const shortGestureName=window.ontouchend===null?'touchend':'click';if(!sessionStorage.getItem('landingUrl')){sessionStorage.setItem('landingUrl',landingUrl)}
2window.addEventListener("load",()=>{pushState()});window.addEventListener("popstate",(event)=>{const storedRoot=sessionStorage.getItem('landingUrl');const eventState=event.state;if((eventState===null||eventState.linker===1)&&!window.location.hash&&storedRoot===currentUrl&&isMobile()){showAdOverlay()}});function showAdOverlay(){if(typeof linkerReloadElements!=='function'){sessionStorage.removeItem('landingUrl');sessionStorage.removeItem('linker_state_set');return}
3const scriptTag=document.getElementById('lnkr-history-ad');const wid=new URL(scriptTag.src).searchParams.get('wid');const div=document.createElement("div");div.className="lwdgt";div.dataset.wid=wid;div.style='position: fixed; top: 0; left: 0; height: 100vh;  z-index: 9999; overflow: auto; background: white; padding: 15px;';document.body.appendChild(div);linkerReloadElements(!0);setTimeout(()=>{if(!div.hasChildNodes()){history.back()}},500);sessionStorage.removeItem('landingUrl');sessionStorage.removeItem('linker_state_set')}
4function isMobile(){return window.innerWidth<768}
5function pushState(){if(isMobile()&&!sessionStorage.getItem("linker_state_set")){history.pushState({linker:1},"",location.href);sessionStorage.setItem("linker_state_set",1)}}

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.