Last active
January 7, 2024 23:00
-
-
Save AitorAstorga/91de98a723043c01dbd155e303fcf121 to your computer and use it in GitHub Desktop.
Infinite Scroll Loader
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
// ==UserScript== | |
// @name Infinite Scroll Loader | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.0 | |
// @description Load an entire website! | |
// @author Aitor Astorga Saez de Vicuña | |
// @match YOUR_URL_HERE | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Function to scroll to the bottom | |
function scrollToBottom() { | |
window.scrollTo(0, document.body.scrollHeight); | |
} | |
// Interval for scrolling | |
setInterval(scrollToBottom, 1000); // Scrolls every 1000 milliseconds (1 second) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment