Auto scroll down to the bottom of the page

From LemonWiki共筆
Revision as of 08:27, 19 July 2020 by Planetoid (talk | contribs) (→‎Solutions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Solutions to auto scroll down to the bottom of the page and repeat

Solutions[edit]

  • On Win Os windows.png : (1) need a mouse that has a wheel (2) open the browser and input the url (3) press the mouse wheel button and release (4) move the mouse a bit down[1][2]
  • On Win Os windows.png or Mac Os mac.png : input the javascript code into the console of browser[3][4][5]:
## enable the auto scroll
var scroll = setInterval(function(){window.scrollTo(0, document.body.scrollHeight)},2000);

## stop the auto scroll
clearInterval(scroll);

References[edit]