// ==UserScript== // @name Aternos Auto Button Clicker // @namespace - // @version 1 // @description Skip having to experience the pain of clicking the same button every time you want to go through menus on Aternos with an ad blocker. // @author Taichums // @match *://aternos.org/* // @icon https://aternos.org/favicon.ico // @grant none // @run-at document-end // @license MIT // @downloadURL none // ==/UserScript== function clickButtons() { const elements = document.querySelectorAll("#qFehtXbWMXJr > div > div:nth-child(4) > div:nth-child(2) > div:nth-child(3) > div.btn.btn-white.SDZZVHLLAEzR"); elements.forEach(element => { element.click(); console.log('Clicked!'); }); } addEventListener("load", () => { setInterval(() => { clickButtons(); }, 5 * 60 * 1000); // 5 minutes interval // Initial click clickButtons(); });