1document.querySelector(".btn-scroll-top").addEventListener("click", function () { 2 window.scrollTo({ top: 0, behavior: "smooth" }); 3 }); 4 5 window.addEventListener("scroll", function () { 6 var scrollTop = window.scrollY || document.documentElement.scrollTop; 7 if (scrollTop > 350) { 8 document.querySelector(".scroll-top-btn").classList.remove("hidden"); 9 } else { 10 document.querySelector(".scroll-top-btn").classList.add("hidden"); 11 } 12 });
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.