PageSourceSearch

https://www.myglowbio.com/script.js

js myglowbio.com collected 2026-09-30 05:55:41 UTC 793 bytes, 25 lines download raw bytes

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

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.