Skip to content

Instantly share code, notes, and snippets.

@blackhalt
Created May 10, 2022 06:05
Show Gist options
  • Save blackhalt/756e7a6f482200d4375e48e72fb80171 to your computer and use it in GitHub Desktop.
Save blackhalt/756e7a6f482200d4375e48e72fb80171 to your computer and use it in GitHub Desktop.
infinite scroll
var bytefreaksTimeout;
function bytefreaksScroll() {
window.scrollBy(0,1000);
bytefreaksTimeout = setTimeout(bytefreaksScroll,100);
}
bytefreaksScroll();
//clearTimeout(bytefreaksTimeout);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment