Greasy Fork is available in English.

Kasu`s Agar.io Extension

Makes the game easier

  1. // ==UserScript==
  2. // @name Kasu`s Agar.io Extension
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.4
  5. // @description Makes the game easier
  6. // @author KasuAG
  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. // @match http://agar.red/*
  15. // @grant none
  16. // @run-at document-end
  17. // ==/UserScript==
  18. window.addEventListener('keydown', keydown);
  19. window.addEventListener('keyup', keyup);
  20. var Feed = false;
  21. var Dingus = false;
  22. var imlost = 25;
  23. 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>";
  24. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_3'> Press <b>3</b> to split 3x</span></span></center>";
  25. 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>";
  26. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_q'> Press and hold <b>Q</b> for macro feed</span></span></center>";
  27. load();
  28. function load() {
  29. if (document.getElementById("overlays").style.display!="none") {
  30. document.getElementById("settings").style.display = "block";
  31. if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();}
  32. document.getElementById('showMass').click();
  33. if (document.getElementById('darkTheme').checked) {document.getElementById('darkTheme').click();}
  34. document.getElementById('darkTheme').click();
  35. // 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
  36. } else {
  37. setTimeout(load, 100);
  38. }
  39. }
  40. function keydown(event) {
  41. if (event.keyCode == 81) {
  42. Feed = true;
  43. setTimeout(fukherriteindapussie, imlost);
  44. } // Jebnij Trika
  45. if (event.keyCode == 69 || event.keyCode == 52) { //( ͡° ͜ʖ ͡°)
  46. ilikedick();
  47. setTimeout(ilikedick, imlost);
  48. setTimeout(ilikedick, imlost*2);
  49. setTimeout(ilikedick, imlost*3);
  50. } // Jebnij Tripla
  51. if (event.keyCode == 51 || event.keyCode == 65) {
  52. ilikedick();
  53. setTimeout(ilikedick, imlost);
  54. setTimeout(ilikedick, imlost*2);
  55. } // Jebnij Dabla
  56. if (event.keyCode == 68 || event.keyCode == 50) {
  57. ilikedick();
  58. setTimeout(ilikedick, imlost);
  59. } // Rozlacz sie
  60. if (event.keyCode == 49) {
  61. ilikedick();
  62. }
  63. } // When Player Lets Go Of Q, It Stops Feeding
  64. function keyup(event) {
  65. if (event.keyCode == 81) {
  66. Feed = false;
  67. }
  68. if (event.keyCode == 79) {
  69. Dingus = false;
  70. }
  71. }
  72. // Aby feedowac macro przytrzymaj Q
  73. function fukherriteindapussie() {
  74. if (Feed) {
  75. window.onkeydown({keyCode: 87});
  76. window.onkeyup({keyCode: 87});
  77. setTimeout(fukherriteindapussie, imlost);
  78. }
  79. }
  80. function ilikedick() {
  81. $("body").trigger($.Event("keydown", { keyCode: 32}));
  82. $("body").trigger($.Event("keyup", { keyCode: 32}));
  83. }
  84. //No Code Here xD