1document.addEventListener("DOMContentLoaded", function () { 2 if (document.getElementsByClassName("mkd-team-image").length >= 1) { 3 var images = document.getElementsByClassName("mkd-team-image"); 4 var lightBoi = document.getElementById("hiddenBoi"); 5 for (var i = 0; i < images.length; i++) { 6 // base = images[i].innerHTML; 7 // src = images[i].children[0].src; 8 // lightbox = 9 // "<a class='svtk-lightbox' data-fslightbox href=" + 10 // '"' + 11 // src + 12 // '">' + 13 // base + 14 // "</a>"; 15 // images[i].innerHTML = lightbox; 16 // refreshFsLightbox(); 17 images[i].addEventListener("click", function () { 18 const lightbox = new FsLightbox(); 19 lightbox.props.sources = [this.children[0].src]; 20 lightbox.props.onInit = () => console.log("Lightbox initialized!"); 21 lightbox.open(); 22 23 lightBoi.href = this.children[0].src; 24 refreshFsLightbox(); 25 lightBoi.click(); 26 }); 27 } 28 } 29 var lightboxes = document.getElementsByClassName("svtk-lightbox"); 30 for (var i = 0; i < lightboxes.length; i++) { 31 lightboxes[i].addEventListener("click", function (e) { 32 console.log("bruh"); 33 }); 34 } 35});
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.