// ==UserScript==
// @name Agar.io Mods
// @namespace http://tampermonkey.net/
// @version 1.0.4
// @description Awesome script to optimize your agar.io webpage includes tricksplits ect.
// @author Myth
// @match http://abs0rb.me/*
// @match http://agar.io/*
// @match http://agarabi.com/*
// @match http://agarly.com/*
// @match http://en.agar.bio/*
// @match http://agar.pro/*
// @match http://agar.biz/*
// @grant none
// @run-at document-end
// @downloadURL https://update.greasyfork.icu/scripts/23307/Agario%20Mods.user.js
// @updateURL https://update.greasyfork.icu/scripts/23307/Agario%20Mods.meta.js
// ==/UserScript==
//replaces title
//h2 selects all h2 elements
$("h2").replaceWith('
Myth.io
');
window.alert("Hello this extension belongs to Myth please do not attempt to claim this extension as your own if you want to contact me my skype is doge_is_cool");
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
var Feed = false;
var Dingus = false;
var imlost = 25;
document.getElementById("instructions").innerHTML += " Press E or 4 to split 4x";
document.getElementById("instructions").innerHTML += " Press 3 to split 3x";
document.getElementById("instructions").innerHTML += " Press D or 2 to split 2x";
document.getElementById("instructions").innerHTML += " Q for macro feed";
document.getElementById("instructions").innerHTML += " name available to copy ♏ψƬℍ";
document.getElementById("instructions").innerHTML += " Skype: doge_is_cool
";
load();
function load() {
if (document.getElementById("overlays").style.display!="none") {
document.getElementById("settings").style.display = "block";
if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();}
document.getElementById('showMass').click();
// I changed the above because now agario 'remembers' your preferences but doesn't actually work so if they're already set to be true, you need to undo it, then re click to true
} else {
setTimeout(load, 100);
}
}
function keydown(event) {
if (event.keyCode == 81) {
Feed = true;
setTimeout(fukherriteindapussie, imlost);
} // Tricksplit
if (event.keyCode == 69 || event.keyCode == 52) { //( ͡° ͜ʖ ͡°)
ilikedick();
setTimeout(ilikedick, imlost);
setTimeout(ilikedick, imlost*2);
setTimeout(ilikedick, imlost*3);
} // Triplesplit
if (event.keyCode == 51 || event.keyCode == 65) {
ilikedick();
setTimeout(ilikedick, imlost);
setTimeout(ilikedick, imlost*2);
} // Doublesplit
if (event.keyCode == 68 || event.keyCode == 50) {
ilikedick();
setTimeout(ilikedick, imlost);
} // Split
if (event.keyCode == 49) {
ilikedick();
}
} // When Player Lets Go Of Q, It Stops Feeding
function keyup(event) {
if (event.keyCode == 81) {
Feed = false;
}
if (event.keyCode == 79) {
Dingus = false;
}
}
// Feed Macro With Q
function fukherriteindapussie() {
if (Feed) {
window.onkeydown({keyCode: 87});
window.onkeyup({keyCode: 87});
setTimeout(fukherriteindapussie, imlost);
}
}
function ilikedick() {
$("body").trigger($.Event("keydown", { keyCode: 32}));
$("body").trigger($.Event("keyup", { keyCode: 32}));
}
//Looking through the code now are we? ( ͡° ͜ʖ ͡°)