1document.addEventListener('DOMContentLoaded', () => { 2 let pageHasLightbox = false; 3 document.querySelectorAll('.post-gallery img').forEach((articleImg) => { 4 const lightbox = document.createElement('a'); 5 lightbox.href = articleImg.src; 6 lightbox.classList.add('lightbox'); 7 lightbox.dataset.group = 'article'; 8 articleImg.parentNode.appendChild(lightbox); 9 lightbox.appendChild(articleImg); 10 11 pageHasLightbox = true; 12 }); 13 14 if (pageHasLightbox) { 15 const tobii = new Tobii({ 16 'navLabel': translations.tobii.navLabel, 17 'closeLabel': translations.tobii.closeLabel, 18 'loadingIndicatorLabel': translations.tobii.loadingIndicatorLabel 19 }); 20 } 21});
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.