PageSourceSearch

https://fs1.tv/wp-content/themes/fs1/js/topbutton.js?ver=1.0

js fs1.tv collected 2026-10-02 04:41:54 UTC 597 bytes, 20 lines download raw bytes

1// Get the button
2let mybutton = document.getElementById("topButton");
3
4// When the user scrolls down 20px from the top of the document, show the button
5window.onscroll = function() {scrollFunction()};
6
7function scrollFunction() {
8  if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
9    mybutton.style.display = "block";
10  } else {
11    mybutton.style.display = "none";
12
13  }
14}
15
16// When the user clicks on the button, scroll to the top of the document
17function topFunction() {
18  document.body.scrollTop = 0;
19  document.documentElement.scrollTop = 0;
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.