PageSourceSearch

https://www.upcitemdb.com/min/?f=/static/js/cbp-animated-header.js&2

js upcitemdb.com collected 2026-10-01 09:04:27 UTC 531 bytes, 6 lines download raw bytes

1var cbpAnimatedHeader=(function(){var docElem=document.documentElement,header=document.querySelector('.navbar-default'),didScroll=false,changeHeaderOn=100;function init(){window.addEventListener('scroll',function(event){if(!didScroll){didScroll=true;setTimeout(scrollPage,250);}},false);}
2function scrollPage(){var sy=scrollY();if(sy>=changeHeaderOn){classie.add(header,'navbar-shrink');}
3else{classie.remove(header,'navbar-shrink');}
4didScroll=false;}
5function scrollY(){return window.pageYOffset||docElem.scrollTop;}
6init();})();

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.