Created
April 1, 2019 19:58
-
-
Save edo9k/cdbba4666037bacbe91cec0ebc5c5620 to your computer and use it in GitHub Desktop.
Page auto-scroll one liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// scrolls two pixels down every 25 milliseconds | |
scroll = setInterval(function(){ window.scrollBy(0, 2); }, 25) | |
//to remove | |
// clearInterval(scroll) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment