1const anchors = document.querySelectorAll('a[href*="#"]') 2 for (let anchor of anchors) { 3 anchor.addEventListener("click", function (e) { 4 e.preventDefault(); 5 const blockID = anchor.getAttribute('href'); 6 document.querySelector('' + blockID).scrollIntoView({ 7 behavior: "smooth", 8 block: "start" 9 }) 10 }) 11 }
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.