PageSourceSearch

https://mrhipster.com/wp/wp-content/cache/autoptimize/js/autoptimi…_single_8320ceb266e2f7b54822e258971397e5.js

js mrhipster.com collected 2026-10-02 13:02:41 UTC 854 bytes, 4 lines download raw bytes

1(function(){function fixSwiperLazy(img){if(img.dataset&&img.dataset.src){img.src=img.dataset.src;img.classList.remove("swiper-lazy");img.removeAttribute("data-src");img.addEventListener("load",function(){const preloader=img.closest(".swiper-zoom-container")?.querySelector(".swiper-lazy-preloader");if(preloader)preloader.remove();});}}
2function fixAllExisting(){document.querySelectorAll("img.swiper-lazy").forEach(fixSwiperLazy);}
3document.addEventListener("DOMContentLoaded",fixAllExisting);const observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){mutation.addedNodes.forEach(function(node){if(node.nodeType===1){if(node.matches("img.swiper-lazy")){fixSwiperLazy(node);}
4node.querySelectorAll?.("img.swiper-lazy").forEach(fixSwiperLazy);}});});});observer.observe(document.body,{childList:true,subtree:true,});})();

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.