PageSourceSearch

https://me-qr.com/assets/js/lazy.js?v=02072023

js me-qr.com collected 2026-09-24 07:38:36 UTC 1,507 bytes, 37 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2    let lazyImages = [].slice.call(document.querySelectorAll("img.lazy"));
3    let active = false;
4
5    const lazyLoad = function() {
6        if (active === false) {
7            active = true;
8
9            setTimeout(function() {
10                lazyImages.forEach(function(lazyImage) {
11                    if ((lazyImage.getBoundingClientRect().top-800 <= window.innerHeight && lazyImage.getBoundingClientRect().bottom >= 0) && getComputedStyle(lazyImage).display !== "none") {
12                        lazyImage.src = lazyImage.dataset.src;
13                        // lazyImage.srcset = lazyImage.dataset.srcset;
14                        lazyImage.classList.remove("lazy");
15
16                        lazyImages = lazyImages.filter(function(image) {
17                            return image !== lazyImage;
18                        });
19
20                        if (lazyImages.length === 0) {
21                            document.removeEventListener("scroll", lazyLoad);
22                            window.removeEventListener("resize", lazyLoad);
23                            window.removeEventListener("orientationchange", lazyLoad);
24                        }
25                    }
26                });
27
28                active = false;
29            }, 200);
30        }
31    };
32
33    document.addEventListener("scroll", lazyLoad);
34    window.addEventListener("resize", lazyLoad);
35    window.addEventListener("orientationchange", lazyLoad);
36    lazyLoad();
37});

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.