Skip to content

Instantly share code, notes, and snippets.

@dissolved
Created June 17, 2013 01:53
Show Gist options
  • Save dissolved/5794223 to your computer and use it in GitHub Desktop.
Save dissolved/5794223 to your computer and use it in GitHub Desktop.
Ever want to go deep (or even "the end") of an infinite scroll? You could spend 10-30 minutes scrolling like a hamster... or you could use javascript to do it for you while you get a cup of java.
// To start scrolling, type this in the javascript console
var theTimeout=setInterval(function(){window.scrollTo(0, document.body.scrollHeight);},500);
// To stop scrolling, type this in the javascript console
clearInterval(theTimeout);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment