Keep scrolling to bottom of a web page with JavaScript
Paste the following to the console of developer tools:
var scrollToBottom = function() {
window.scrollTo(0, document.body.scrollHeight);
}
var delay = 2000;
var intervalID = setInterval(scroll, delay);
To stop scrolling, use the following code:
window.clearInterval(intervalID);
Written by Chun-wei Kuo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#