Last active
October 16, 2020 21:18
-
-
Save dmarticus/6e785098080de33673d3501df929211c to your computer and use it in GitHub Desktop.
infinite scrolls the grailed closet to the end of it all
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
var lastScrollHeight=0;function autoScroll(){var l=document.documentElement.scrollHeight;l!=lastScrollHeight&&(lastScrollHeight=l,document.documentElement.scrollTop=l)}window.setInterval(autoScroll,100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment