Aternos Auto Button Clicker

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.

当前为 2023-08-19 提交的版本,查看 最新版本

// ==UserScript==
// @name         Aternos Auto Button Clicker
// @namespace    -
// @version      1.0
// @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
// ==/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();
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址