PageSourceSearch

https://i.farmer.pl/js/postloader2022.min.js?v=2

js farmer.pl collected 2026-10-02 03:26:48 UTC 5,926 bytes, 1 lines download raw bytes

1!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t=document.querySelector("#slot"),n=[],o=new IntersectionObserver((function(o){setTimeout((function(){if(!r&&t&&o[0].isIntersecting&&(r=!0,t.innerHTML='\n            <div class="loading-list-cnt"> \n                <div class="loading-list"> \n                    <svg viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="35"></circle></svg> \n                </div> \n            </div>',PTWP.readmore.length)){var c=PTWP.readmore.shift(),d=new URL(c.link);d.hostname=new URL(window.location).hostname,n.push((function(){try{if(c.hasOwnProperty("counter")){var e=d.pathname.replace(/,\d+\.html/,",".concat(c.id,".html"));fetch(new Request(e,{redirect:"manual"}))}}catch(e){console.log("nie dam rady policzyc")}})),fetch(d.toString(),{method:"GET",headers:{"X-Ptwp-Ax-Header":"true"}}).then((function(e){return e.text()})).then((function(n){var o,d,u,p=(new DOMParser).parseFromString(n,"text/html"),g=p.body.querySelector(".page-dynamic-content");if("404"==(null===(o=p.body.querySelector("div[data-status][data-code]"))||void 0===o||null===(o=o.dataset)||void 0===o?void 0:o.code))throw new Error("404");if(g){t.replaceWith(g),function(e){for(var t=0,n=Array.from(e.querySelectorAll("script"));t<n.length;t++){var o=n[t],i=document.createElement("script");l(o,i),i.innerHTML=o.innerHTML,o.replaceWith(i)}}(g),t.innerHTML="&nbsp;",PTWP.readmore.length?g.parentNode.insertBefore(t,g.nextSibling):a&&s(),d={href:c.link,title:g.querySelector(".post-title").innerText},u=new URL(d.href),"function"==typeof ga?dataLayer.push({event:"VirtualPageView",pageViewURL:u.pathname,pageViewTitle:d.title}):"object"==("undefined"==typeof _gaq?"undefined":e(_gaq))&&"function"==typeof _gaq.push&&_gaq.push(["_trackPageview",d.href]),"string"==typeof pp_gemius_identifier&&("function"==typeof gemius_pending&&(gemius_pending("gemius_hit"),gemius_pending("gemius_event"),gemius_pending("pp_gemius_hit"),gemius_pending("pp_gemius_event")),"function"==typeof gemius_hit&&("used_"==pp_gemius_identifier.toLowerCase().substr(0,5)?gemius_hit(pp_gemius_identifier.substr(5)):gemius_hit(pp_gemius_identifier))),i.disconnect(),Array.prototype.slice.call(document.querySelectorAll(".post")).forEach((function(e){i.observe(e)})),PTWP.pubSub.emit("post-loaded",{});var m=new CustomEvent("postLoaded",{detail:{id:c.id,link:c.link}});window.dispatchEvent(m),PTWP.utility.showNewsletterWindow(),r=!1,"function"==typeof __cmp&&__cmp("checkBlocking")}})).catch((function(e){var n=document.createElement("div");t.replaceWith(n),t.innerHTML="&nbsp;",PTWP.readmore.length?n.parentNode.insertBefore(t,n.nextSibling):a&&s(),r=!1,console.log("Failed to fetch page: ",e)}))}}),parseInt(100*Math.random()))}),{root:null,rootMargin:"0px 0px "+window.screen.availHeight+"px 0px",threshold:0}),i=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var t=e.target.querySelector("meta[itemprop=mainEntityOfPage]").content;if(document.title=e.target.querySelector(".post-title").innerText,window.location.pathname!=new URL(t).pathname){if(n.length){var o=n.shift();"function"==typeof o&&o()}history.replaceState("",document.title,c(t))}}}))}),{root:null,rootMargin:"0px",threshold:.05}),r=!1,a=!0;function c(e){var t=new URL(window.location),n=new URL(e);return n.hostname=t.hostname,n.searchParams.append("mp","promo"),n.toString()}function l(e,t){return Array.from(e.attributes).forEach((function(e){t.setAttribute("id"===e.nodeName?"data-id":e.nodeName,e.nodeValue)}))}function s(){var e=-1,t=document.querySelector("footer.p-footer"),n=document.createElement("div"),o=document.createElement("div");o.classList.add("reload"),o.innerHTML='\n            <div style="text-align:center;">\n                <a href="/" class="p-logo"> \n                    <img src="/images/2022/farmer.svg" alt="Farmer.pl" class="p-logo-img" style="margin:0 auto;"> \n                </a>\n\t\t        <div class="reload-counter" style="margin: 10px 0;font-weight:200;color: black;font-size: 22px;text-shadow: none">0%</div>\n                <div style=\'text-align:center;margin: 10px;\'><a href="/" style="font-weight: bold;text-decoration: none;">Kliknij by wrócić na stronę główną</a></div>\n\t\t        <div class="reload-progress-bar" style="height: 16px;position: relative;background: #555;margin:auto;width: 70%;max-width: 300px;box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3)"><span style="width: 0%; display: block; height: 100%; background-color: #259900; overflow: hidden;"></span></div>\n            </div>',t.insertBefore(o,t.querySelector(":first-child")),document.querySelector(".container .info-boxes").style="background: white;box-shadow: 0px 20px 7px -14px #00000033; display:grid;",t.style="position:fixed; bottom: 0; left:0; right: 0; z-index: -1; opacity: 0;display:block;";var i=t.getBoundingClientRect().height+100;n.style="pointer-events: none;opacity:0;height: "+i+"px",document.body.insertBefore(n,t),document.addEventListener("scroll",(function(){t.style.zIndex=-1;var n=0;e>0&&clearTimeout(e);var o=parseInt(window.document.body.getBoundingClientRect().top-window.innerHeight+window.document.body.getBoundingClientRect().height)-i;o<0&&(n=1-(o+i)/i),t.style.opacity=n,document.querySelector(".reload .reload-counter").innerText=parseInt(100*n)+"%",document.querySelector(".reload .reload-progress-bar span").style.width=parseInt(100*n)+"%",n>.9&&(t.style.zIndex=1),1===n&&(e=setTimeout((function(){window.location.href=c(window.location.origin)}),100))}))}PTWP.readmore.length&&(document.querySelector(".container .info-boxes").style.display="none",document.querySelector("footer.p-footer").style.display="none",o.observe(t))}()}();

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.