PageSourceSearch

https://www.fuwa.dk/script.js

js fuwa.dk collected 2026-10-08 08:12:03 UTC 801 bytes, 26 lines download raw bytes

1
2    document.addEventListener('DOMContentLoaded', () => {
3      const navToggle = document.getElementById('navToggle');
4      const mainNav = document.getElementById('mainNav');
5      const backToTopBtn = document.getElementById('backToTop');
6
7      navToggle.addEventListener('click', () => {
8        navToggle.classList.toggle('active');
9        mainNav.classList.toggle('active');
10      });
11
12      window.addEventListener('scroll', () => {
13        if (window.scrollY > 300) {
14          backToTopBtn.classList.add('visible');
15        } else {
16          backToTopBtn.classList.remove('visible');
17        }
18      });
19
20      backToTopBtn.addEventListener('click', () => {
21        window.scrollTo({
22          top: 0,
23          behavior: 'smooth'
24        });
25      });
26    });

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.