Agar.io Mods

Awesome script to optimize your agar.io webpage includes tricksplits ect.

  1. // ==UserScript==
  2. // @name Agar.io Mods
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0.4
  5. // @description Awesome script to optimize your agar.io webpage includes tricksplits ect.
  6. // @author Myth
  7. // @match http://abs0rb.me/*
  8. // @match http://agar.io/*
  9. // @match http://agarabi.com/*
  10. // @match http://agarly.com/*
  11. // @match http://en.agar.bio/*
  12. // @match http://agar.pro/*
  13. // @match http://agar.biz/*
  14. // @grant none
  15. // @run-at document-end
  16. // ==/UserScript==
  17.  
  18. //replaces title
  19. //h2 selects all h2 elements
  20. $("h2").replaceWith('<h1>Myth.io</h1>');
  21.  
  22. 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");
  23.  
  24. window.addEventListener('keydown', keydown);
  25. window.addEventListener('keyup', keyup);
  26. var Feed = false;
  27. var Dingus = false;
  28. var imlost = 25;
  29. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_e'> Press <b>E</b> or <b>4</b> to split 4x</span></span></center>";
  30. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_3'> Press <b>3</b> to split 3x</span></span></center>";
  31. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>D</b> or <b>2</b> to split 2x</span></span></center>";
  32. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_q'> <b>Q</b> for macro feed</span></span></center>";
  33. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_q'> <b>name available to copy ♏ψƬℍ</b></span></span></center>";
  34. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_lol'> <h2><b><i>Skype: doge_is_cool<i><b></h2> </span></span></center>";
  35. load();
  36. function load() {
  37. if (document.getElementById("overlays").style.display!="none") {
  38. document.getElementById("settings").style.display = "block";
  39. if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();}
  40. document.getElementById('showMass').click();
  41. // 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
  42. } else {
  43. setTimeout(load, 100);
  44. }
  45. }
  46. function keydown(event) {
  47. if (event.keyCode == 81) {
  48. Feed = true;
  49. setTimeout(fukherriteindapussie, imlost);
  50. } // Tricksplit
  51. if (event.keyCode == 69 || event.keyCode == 52) { //( ͡° ͜ʖ ͡°)
  52. ilikedick();
  53. setTimeout(ilikedick, imlost);
  54. setTimeout(ilikedick, imlost*2);
  55. setTimeout(ilikedick, imlost*3);
  56. } // Triplesplit
  57. if (event.keyCode == 51 || event.keyCode == 65) {
  58. ilikedick();
  59. setTimeout(ilikedick, imlost);
  60. setTimeout(ilikedick, imlost*2);
  61. } // Doublesplit
  62. if (event.keyCode == 68 || event.keyCode == 50) {
  63. ilikedick();
  64. setTimeout(ilikedick, imlost);
  65. } // Split
  66. if (event.keyCode == 49) {
  67. ilikedick();
  68. }
  69. } // When Player Lets Go Of Q, It Stops Feeding
  70. function keyup(event) {
  71. if (event.keyCode == 81) {
  72. Feed = false;
  73. }
  74. if (event.keyCode == 79) {
  75. Dingus = false;
  76. }
  77. }
  78. // Feed Macro With Q
  79. function fukherriteindapussie() {
  80. if (Feed) {
  81. window.onkeydown({keyCode: 87});
  82. window.onkeyup({keyCode: 87});
  83. setTimeout(fukherriteindapussie, imlost);
  84. }
  85. }
  86. function ilikedick() {
  87. $("body").trigger($.Event("keydown", { keyCode: 32}));
  88. $("body").trigger($.Event("keyup", { keyCode: 32}));
  89. }
  90. //Looking through the code now are we? ( ͡° ͜ʖ ͡°)