Created
October 3, 2025 12:15
-
-
Save Mark7888/e5954f3c8bd5fd0cb7776bba7b15f89c to your computer and use it in GitHub Desktop.
This Tampermonkey script will automatically click the "load more" button at the bottom of the page on TopiWork
This file contains hidden or 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 Auto Load More Jobs - Topiwork | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Automatically clicks the "load more jobs" button on topiwork.hu every 1 second if present and visible | |
| // @author You | |
| // @match https://topiwork.hu/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=topiwork.hu | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| let clicking = false; | |
| setInterval(() => { | |
| if (clicking) return; // prevent concurrent clicks | |
| const btn = document.querySelector("a.load_more_jobs.button.centered"); | |
| if (btn && btn.style.display !== "none") { | |
| clicking = true; | |
| setTimeout(() => { | |
| btn.click(); | |
| clicking = false; | |
| }, 500); // click after 1 second delay | |
| } | |
| }, 500); // check every 1 second | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment