Pinned Loading
- Find out which element is scrolling
Find out which element is scrolling 1javascript:!function(){varslice=Array.prototype.slice;functionthrottle(type,name,obj){obj=obj||window;varrunning=false;varfunc=function(){if(running){return;}running=true;requestAnimationFrame(function(){obj.dispatchEvent(newCustomEvent(name));running=false;});};obj.addEventListener(type,func);}slice.call(document.querySelectorAll("*")).filter(e=>e.scrollWidth>e.offsetWidth||e.scrollHeight>e.offsetHeight).filter(e=>{varstyle=window.getComputedStyle(e);return[style.overflow,style.overflowX,style.overflowY].some(e=>e==="auto"||e==="scroll");}).forEach(e=>{varcolor=Math.floor(Math.random()*16777215).toString(16);e.style.backgroundColor="#"+color;throttle("scroll","optimizedScroll",e);e.addEventListener("scroll",event=>{console.log("%c[scroll]","color: white; background-color:#"+color,event.target);});});}()
- homemade-suspense
homemade-suspense PublicJavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.
Uh oh!
There was an error while loading. Please reload this page.





