1document.addEventListener('DOMContentLoaded', () => { 2 document.querySelectorAll('img.lazy').forEach(img => { 3 if (img.complete) { 4 img.classList.remove('lazy'); 5 img.dataset.loaded = 'true'; 6 return; 7 } 8 img.addEventListener('load', () => { 9 img.classList.remove('lazy'); 10 img.dataset.loaded = 'true'; 11 }, { once: true }); 12 }); 13});
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.