Skip to content

Instantly share code, notes, and snippets.

@zxlooong
Created December 16, 2022 16:26
Show Gist options
  • Save zxlooong/9a12b3e49176d3631790d4a03fdaaf3d to your computer and use it in GitHub Desktop.
Save zxlooong/9a12b3e49176d3631790d4a03fdaaf3d to your computer and use it in GitHub Desktop.
var myVar = setInterval(function(){ window.scrollBy(0, 300) }, 800);
clearTimeout(myVar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment