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

From LemonWiki共筆
Jump to navigation Jump to search
(Created page with "Auto scroll downto the bottom of the page == solutions == * On {{win}}: (1) need a mouse that has a wheel (2) open the browser and input the url (3) press the mouse wheel but...")
 
Line 1: Line 1:
 
Auto scroll downto the bottom of the page
 
Auto scroll downto the bottom of the page
  
== solutions ==
+
== Solutions ==
 
* On {{win}}: (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 <ref>[http://freewindowsvistatutorials.com/makeMouseScrollAutomaticallyThroughPagesDocuments.php Make your mouse scroll automatically through pages / document (Windows 7 / Vista / XP)]</ref><ref>[https://answers.microsoft.com/en-us/windows/forum/all/my-mouse-will-scroll-down-to-the-bottom-of-the/7af3b262-29be-4f2b-ab37-f221585fed49 My mouse will scroll down to the bottom of the page automatically. - Microsoft Community]</ref>
 
* On {{win}}: (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 <ref>[http://freewindowsvistatutorials.com/makeMouseScrollAutomaticallyThroughPagesDocuments.php Make your mouse scroll automatically through pages / document (Windows 7 / Vista / XP)]</ref><ref>[https://answers.microsoft.com/en-us/windows/forum/all/my-mouse-will-scroll-down-to-the-bottom-of-the/7af3b262-29be-4f2b-ab37-f221585fed49 My mouse will scroll down to the bottom of the page automatically. - Microsoft Community]</ref>
 
* On {{win}} or {{Mac}}: input the javascript code into the console of browser<ref>[https://medium.com/%E4%B8%80%E5%80%8B%E4%BA%BA%E7%9A%84%E6%96%87%E8%97%9D%E5%BE%A9%E8%88%88/%E8%AE%93%E7%80%8F%E8%A6%BD%E5%99%A8%E8%87%AA%E5%8B%95%E6%BB%BE%E7%B6%B2%E9%A0%81-javascript-4a8c24f94f04 讓瀏覽器自動滾網頁(JavaScript). 有時會面臨想找的資料,在頁面下方,需要先開到一定段落再用搜尋功能或人工肉眼辨識,… | by 吳致賢(Jhih-Sian Wu) | 一個人的文藝復興 | Medium]</ref><ref>[https://www.thewindowsclub.com/auto-scroll-a-web-page-down-or-up How to auto scroll a web page Down or Up in Chrome or Firefox]</ref>:
 
* On {{win}} or {{Mac}}: input the javascript code into the console of browser<ref>[https://medium.com/%E4%B8%80%E5%80%8B%E4%BA%BA%E7%9A%84%E6%96%87%E8%97%9D%E5%BE%A9%E8%88%88/%E8%AE%93%E7%80%8F%E8%A6%BD%E5%99%A8%E8%87%AA%E5%8B%95%E6%BB%BE%E7%B6%B2%E9%A0%81-javascript-4a8c24f94f04 讓瀏覽器自動滾網頁(JavaScript). 有時會面臨想找的資料,在頁面下方,需要先開到一定段落再用搜尋功能或人工肉眼辨識,… | by 吳致賢(Jhih-Sian Wu) | 一個人的文藝復興 | Medium]</ref><ref>[https://www.thewindowsclub.com/auto-scroll-a-web-page-down-or-up How to auto scroll a web page Down or Up in Chrome or Firefox]</ref>:

Revision as of 15:41, 16 July 2020

Auto scroll downto 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 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