Astr.io - Respawn on R

Click R to respawn in Astr.io.

作者
Bartek Jarząbek
今日安裝
0
安裝總數
153
評價
0 0 0
版本
0.1.2
建立日期
2020-02-10
更新日期
2020-02-10
尺寸
756 位元組
授權條款
未知
腳本執行於

// ==UserScript==
// @name Astr.io - Respawn on R
// @namespace http://gronlokke.github.io/
// @version 0.1.2
// @description Click R to respawn in Astr.io.
// @author Gronlokke
// @match http://astr.io/*
// ==/UserScript==
/* jshint ignore:start */
var key = 82; // Change this to any key you want, you can get the key code on keycode.info.

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