Aternos Auto Button Clicker

Automates button clicking on Aternos menus to save time and reduce repetitive tasks.

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

// ==UserScript==
// @name         Aternos Auto Button Clicker
// @namespace    -
// @version      1.1
// @description  Automates button clicking on Aternos menus to save time and reduce repetitive tasks.
// @author       Taichums
// @match        https://aternos.org/*
// @icon         https://aternos.org/favicon.ico
// @grant        none
// @run-at       document-end
// @license      MIT
// ==/UserScript==

// Features:
// - Automatically clicks buttons in specific menus on Aternos
// - Works with ad blockers to streamline navigation

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或关注我们的公众号极客氢云获取最新地址