alsda7 Hotkeys : mouse control spilt 16 and feed

E is 'W' Macro, T and Q and shift is spilt 16, G and Q is Doublesplit, Left Click is Space 16, Right Click is Feed/Macro,

// ==UserScript==
// @name         alsda7 Hotkeys : mouse control spilt 16 and feed
// @namespace    http://tampermonkey.net/
// @version      1.70
// @description  E is 'W' Macro, T and Q and shift is spilt 16,  G and Q is Doublesplit, Left Click is Space 16, Right Click is Feed/Macro,
// @author       alsda7
// @match        http://agar.io/*
// @match        https://agar.io/*
// @match        http://3rb.io/*
// @grant        none
// @run-at       document-end
// ==/UserScript==
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
var Feed = 26;
var Speed = 25;

//Funtions
function split() {
    $("body").trigger($.Event("keydown", { keyCode: 32}));
    $("body").trigger($.Event("keyup", { keyCode: 32}));
}
function mass() {
    if (Feed) {
        window.onkeydown({keyCode: 87});
        window.onkeyup({keyCode: 87});
        setTimeout(mass, Speed);
    }
}

function keydown(event) {
    // Feed Macro
    if (event.keyCode == 69 )                                        // E
    {
        Feed = true;
        setTimeout(mass, Speed);
    }// Center
    if (event.keyCode == 83) {                                       // S
        X = window.innerWidth/2;
        Y = window.innerHeight/2;
        $("canvas").trigger($.Event("mousemove", {clientX: X, clientY: Y}));
    }
    // spilt 16
    if (event.keyCode == 84 || event.keyCode == 119 || event.keyCode == 16) {                // T and F8 and shift
        split();
        setTimeout(split, Speed);
        setTimeout(split, Speed*2);
        setTimeout(split, Speed*3);
    } // Doublesplit
    if (event.keyCode == 71 || event.keyCode == 81) {         // G and Q
        split();
        setTimeout(split, Speed);
    }// Split
    if (event.keyCode == 'yourkey' || event.keyCode == 'yourkey2') { // Put in Your Key
        split();
    }

} // When Player Lets Go Of E, It Stops Feeding
function keyup(event) {
    if (event.keyCode == 69) {
        Feed = false;
    }
}

//Mouse Clicks
(function() {
    document.getElementById("canvas").addEventListener("mousedown", function(event) {
        if (event.which == 1) {
            split();
            setTimeout(split, Speed);
            setTimeout(split, Speed*2);
            setTimeout(split, Speed*3);
        }
        else if (event.which == 3) {
            Feed = true;
            setTimeout(mass, Speed);
        }
    });

    document.getElementById("canvas").addEventListener("mouseup", function(event) {
        if (event.which == 3) {
            Feed = false;
        }
    });
    $('#canvas').bind('contextmenu', function(e) {
        e.preventDefault();
    });
}());