1document.addEventListener('DOMContentLoaded', function(event) { 2 var toTop = document.getElementById('toTop'); 3 if (!toTop) 4 return; 5 6 toTop.addEventListener('click', scrollToTop); 7 8 window.addEventListener('scroll', function(){ 9 if(window.pageYOffset > 400) { 10 toTop.classList.add('is-visible'); 11 } else { 12 toTop.classList.remove('is-visible'); 13 } 14 }); 15 16 function scrollToTop() { 17 window.scrollTo({top: 0, left: 0, behavior: 'smooth'}); 18 } 19}); 20
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.