Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function autoScroll() {
- window.scrollTo(0, document.body.scrollHeight);
- window.scrollTo(0, document.body.scrollTop);
- window.scrollTo(0, document.body.scrollHeight);
- window.scrollTo(0, document.body.scrollHeight);
- window.scrollTo(0, document.body.scrollHeight);
- }
- setInterval(autoScroll, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement