Agma.io - Respawn on R

Click R to respawn in Agma.io.

目前為 2017-10-12 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Agma.io - Respawn on R
// @namespace    http://gronlokke.github.io/
// @version      0.1.0
// @description  Click R to respawn in Agma.io.
// @author       Gronlokke
// @match        http://agma.io/*
// ==/UserScript==
/* jshint ignore:start */
window.onload = function() {
    var respawn = document.getElementsByClassName("rspwnBtn")[0];
    var play = document.getElementById("playBtn");
    window.onkeydown = function(e) {
        if (e.keyCode == 82) { // You can replace this with another button, just check the key code on keycode.info.
            respawn.click();
            play.click();
        }
    }
}
/* jshint ignore:end */

QingJ © 2025

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