// ==UserScript== // @name MaSt Play Mods Useful And Powerful! // @namespace MaSt Play Mods // @version 0.1 // @description MODS FOR AGAR & OTHER ! // @author MaSt // @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/* // @match http://gota.io/* // @grant none // @downloadURL https://update.greasyfork.icu/scripts/22178/MaSt%20Play%20Mods%20Useful%20And%20Powerful%21.user.js // @updateURL https://update.greasyfork.icu/scripts/22178/MaSt%20Play%20Mods%20Useful%20And%20Powerful%21.meta.js // ==/UserScript== window.onload = function() { //fonction au démarrage $("h2").replaceWith('

MaSt Agar.io

'); $("h4").replaceWith('

Partie

'); $("title").replaceWith('MaSt Agar.io'); $("h1").replaceWith('

MaSt Agar.io

'); //CSS inject finish option_show_mass = true; //options ( ce qui est déja activé sur le site ) option_skip_stats = true; option_dark_theme = false; //options finish $( "#controller_alert_connected" ).after("
PLAY - Agar.io YT

Macro Feed: Q

Full split: Shift
"); $( "#controller_alert_connected" ).after("
"); $( "#tags-container" ).replaceWith("
"); $( ".agario-promo" ).replaceWith("
"); $( "#nick" ).after("
"); $( ".diep-cross" ).replaceWith("
"); addGlobalStyle("#nick { width:100%; }"); addGlobalStyle("#gamemode { width:100%; }"); $( "#adbg" ).replaceWith(""); $( "#container" ).replaceWith(""); }; //fin de la fonction du démarrage var SplitInterval; //variables des macros var MacroInterval; var SplitDebounce = false; var MacroDebounce = false; //fin des variables $(document).on('keydown', function(input) { //fonction et script des macros console.log("got keydown"); if (input.keyCode == 16) { if (SplitDebounce) { return; } SplitDebounce = true; SplitInterval = setInterval(function() { $("body").trigger($.Event("keydown", { keyCode: 32 })); $("body").trigger($.Event("keyup", { keyCode: 32 })); }, 0); } else if (input.keyCode == 81) { if (MacroDebounce) { return; } MacroDebounce = true; MacroInterval = setInterval(function() { $("body").trigger($.Event("keydown", { keyCode: 87 })); $("body").trigger($.Event("keyup", { keyCode: 87 })); }, 0); } }); //fin de la fonction $(document).on('keyup', function(input) { if (input.keyCode == 16) { SplitDebounce = false; clearInterval(SplitInterval); return; } else if (input.keyCode == 81) { MacroDebounce = false; clearInterval(MacroInterval); return; } }); //fin du script function afficher_cacher(id) { if(document.getElementById(id).style.visibility=="hidden") { document.getElementById(id).style.visibility="visible"; document.getElementById('bouton_'+id).innerHTML='Cacher le texte'; } else { document.getElementById(id).style.visibility="hidden"; document.getElementById('bouton_'+id).innerHTML='Afficher le texte'; } return true; } function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); }