Auto scroll down to the bottom of the page: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
Auto scroll downto the bottom of the page
Solutions to auto scroll down to the bottom of the page


== Solutions ==
== Solutions ==

Revision as of 15:45, 16 July 2020

Solutions to auto scroll down to the bottom of the page

Solutions

  • 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 or a bit up [1][2]
  • On Win Os windows.png or Mac icon_os_mac.png : input the javascript code into the console of browser[3][4]:
## enable the auto scroll
var scroll = setInterval(function(){window.scrollTo(0, document.body.scrollHeight)},2000);

## stop the auto scroll
clearInterval(scroll);

References