Mhero's Script

Take over Agarpowers easily with this script!

目前為 2022-04-19 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Mhero's Script
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  Take over Agarpowers easily with this script!
// @author       You
// @match        http://138.201.180.92:90/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=180.92
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
        /*if (document.getElementById('overlays').style.display != 'none' || document.getElementById('advert').style.display != 'none') {
            return;
        }*/
    if (document.activeElement.type == 'text' || document.activeElement.type == 'password') {
            return;
    }
    setInterval(function(){
        $("#canvas").trigger($.Event("keydown", { keyCode: 72}));
        $("#canvas").trigger($.Event("keyup", { keyCode: 72}));
    }, 1600)


    var startGoldNick = setInterval(function(){
        document.getElementById('setGoldNickname').dispatchEvent(new MouseEvent("click"));
    }, 100)
})();

QingJ © 2025

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