Greasy Fork

Greasy Fork is available in English.

Aternos Board Check Server Status

makes you able to click the minecraft server's ip in aternos's board and check right away if its online.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Aternos Board Check Server Status
// @namespace    http://greasyfork.icu/en/users/980321-abodiey
// @version      0.1
// @description  makes you able to click the minecraft server's ip in aternos's board and check right away if its online.
// @author       Abodiey
// @match        https://board.aternos.org/thread/
// @match        https://board.aternos.org/thread/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=aternos.org
// @grant        none
// ==/UserScript==
var tries=0
var loading = setInterval(function () {
    tries+=1
    if (document.getElementsByTagName('dd')[2]) {
        const old=document.getElementsByTagName('dd')[2].innerHTML
        document.getElementsByTagName('dd')[2].innerHTML= '<a href="https://mcsrvstat.us/server/'+old+'"class="externalURL" target="_blank" rel="nofollow noopener noreferrer ugc">'+old+'</a>'
        clearInterval(loading);
    }
    if (tries>3000) {clearInterval(loading);}
}, 20); // Checks every 100ms(0.1s)