PageSourceSearch

https://okologi.dk/polyfills-DaYY_f2o.js

js okologi.dk collected 2026-10-02 07:50:42 UTC 2,451 bytes, 2 lines download raw bytes

1var c,d="loading"in HTMLImageElement.prototype,l="loading"in HTMLIFrameElement.prototype,u="onscroll"in window;function m(t){var r,e,o=[];t.parentNode.tagName.toLowerCase()==="picture"&&((e=(r=t.parentNode).querySelector("source[data-lazy-remove]"))&&r.removeChild(e),o=Array.prototype.slice.call(t.parentNode.querySelectorAll("source"))),o.push(t),o.forEach(function(n){n.hasAttribute("data-lazy-srcset")&&(n.setAttribute("srcset",n.getAttribute("data-lazy-srcset")),n.removeAttribute("data-lazy-srcset"))}),t.setAttribute("src",t.getAttribute("data-lazy-src")),t.removeAttribute("data-lazy-src")}function p(t){var r=document.createElement("div");for(r.innerHTML=function(n){var a=n.textContent||n.innerHTML,s="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 "+((a.match(/width=['"](\d+)['"]/)||!1)[1]||1)+" "+((a.match(/height=['"](\d+)['"]/)||!1)[1]||1)+"%27%3E%3C/svg%3E";return(/<img/gim.test(a)&&!d||/<iframe/gim.test(a)&&!l)&&u&&(a=c===void 0?a.replace(/(?:\r\n|\r|\n|\t| )src=/g,' lazyload="1" src='):(a=a.replace("<source",'<source srcset="'+s+`" data-lazy-remove="true"></source>
2<source`)).replace(/(?:\r\n|\r|\n|\t| )srcset=/g," data-lazy-srcset=").replace(/(?:\r\n|\r|\n|\t| )src=/g,' src="'+s+'" data-lazy-src=')),a}(t);r.firstChild;){var e=r.firstChild;if(u&&c!==void 0&&e.tagName&&((e.tagName.toLowerCase()==="img"||e.tagName.toLowerCase()==="picture")&&!d||e.tagName.toLowerCase()==="iframe"&&!l)){var o=e.tagName.toLowerCase()==="picture"?r.querySelector("img"):e;c.observe(o)}t.parentNode.insertBefore(e,t)}t.parentNode.removeChild(t)}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"IntersectionObserver"in window&&(c=new IntersectionObserver(function(t,r){t.forEach(function(e){if(e.intersectionRatio!==0){var o=e.target;r.unobserve(o),m(o)}})},{rootMargin:"0px 0px 256px 0px",threshold:.01}));var i=function(){document.querySelectorAll("noscript.loading-lazy").forEach(function(t){return p(t)}),window.matchMedia!==void 0&&window.matchMedia("print").addListener(function(t){t.matches&&document.querySelectorAll('img[loading="lazy"][data-lazy-src],iframe[loading="lazy"][data-lazy-src]').forEach(function(r){m(r)})})};/comp|inter/.test(document.readyState)?i():"addEventListener"in document?document.addEventListener("DOMContentLoaded",function(){i()}):document.attachEvent("onreadystatechange",function(){document.readyState==="complete"&&i()});

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.