PageSourceSearch

https://www.traffex.com/scripts/pages/layout/scroll-indicator.js

js traffex.com collected 2026-09-28 12:47:06 UTC 484 bytes, 10 lines download raw bytes

1(function(){
2    window.addEventListener(DomEvents.scroll,  updateScrollIndicator);
3
4    function updateScrollIndicator() {
5        const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
6        const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
7        const scrolled = (winScroll / height) * 100;
8        document.getElementById('scroll-indicator-progress').style.width = scrolled + "%";
9    }
10}());

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.