foes.io script

Currently allows you to press 'z' to create account and 'x' to go to lobby

Versione datata 04/10/2017. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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);