PageSourceSearch

https://juenfy.github.io/js/build/tools/scrollTopBottom.js

js juenfy.github.io collected 2026-10-03 09:25:56 UTC 404 bytes, 2 lines download raw bytes

1export default()=>{const o=document.querySelector(".tool-scroll-to-top"),t=document.querySelector(".tool-scroll-to-bottom"),backToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})},backToBottom=()=>{const o=document.body.scrollHeight;window.scrollTo({top:o,behavior:"smooth"})};o.addEventListener("click",backToTop),t.addEventListener("click",backToBottom)};
2//# sourceMappingURL=scrollTopBottom.js.map

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.