Agma.io Respawn on R By Dizzy

Click R to respawn

目前为 2019-02-27 提交的版本。查看 最新版本

// ==UserScript==
// @name         Agma.io Respawn on R By Dizzy
// @namespace    http://tampermonkey.net
// @version      0.1.4
// @description  Click R to respawn
// @author       Dizzy
// @match        http://agma.io/*
// ==/UserScript==
/* jshint ignore:start */
var key = 82;

window.onload = function() {
    var respawn = document.getElementsByClassName("rspwnBtn")[0];
    var play = document.getElementById("playBtn");
    window.onkeydown = function(e) {
        if (e.keyCode == key && document.activeElement == document.body) {
            rspwn(document.getElementById('nick').value);
            play.click();
        }
    }
}
/* jshint ignore:end */

QingJ © 2025

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