foes.io script

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

Від 04.10.2017. Дивіться остання версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

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