Currently allows you to press 'z' to create account and 'x' to go to lobby
当前为
// ==UserScript==
// @name foes.io script
// @namespace http://foes.io/*
// @version 1.01
// @description Currently allows you to press 'z' to create account and 'x' to go to lobby
// @author Meatman2tasty
// @match http://foes.io/*
// @grant none
// ==/UserScript==
//input values//
document.getElementById("accName").value="";
document.getElementById("accEmail").value="";
document.getElementById("accPass").value="";
//account spam//
document.addEventListener("keydown", function(a) { // Press 'z' to create account
if (a.keyCode == 90) {
document.getElementById("accName").value= Math.random().toString(36).substring(7);
document.getElementById("accEmail").value= Math.random().toString(36).substring(7) + "@mail.com";
document.getElementById("accPass").value= Math.random().toString(36).substring(7);
setTimeout(registerAcc(0), 1000);
}
}, false);
//Go to lobby//
document.addEventListener("keydown", function(a) { // Press 'x' to go to menu
if (a.keyCode == 88) {
toggleMenu(true);
}
}, false);
//name addition//
document.addEventListener("keydown", function(a) { // press '\' to for dope name
if (a.keyCode == 220) {
document.getElementById("nameInput").value="Join s8n today";
}
}, false);