// ==UserScript== // @name MaSt Clan Extension Powerful and Useful! // @namespace MaSt Play Mods // @version 1.0 // @description MODS FOR AGAR & OTHER ! // @author MaSt // @match http://agar.io/* // @match http://agarly.com/* // @match http://gota.io/* // @grant none // @downloadURL https://update.greasyfork.icu/scripts/22792/MaSt%20Clan%20Extension%20Powerful%20and%20Useful%21.user.js // @updateURL https://update.greasyfork.icu/scripts/22792/MaSt%20Clan%20Extension%20Powerful%20and%20Useful%21.meta.js // ==/UserScript== window.onload = function() { option_show_mass = true; option_skip_stats = true; $( "head" ).append(""); //$( "head" ).append(""); $( "h2" ).replaceWith('

MaSt Agar.io

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

Partie

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

MaSt Agar.io

'); $( "select#gamemode" ).after(""); $( "#tags-container" ).replaceWith("
"); $( ".agario-promo" ).replaceWith("
"); $( "#nick" ).after("
"); $( ".diep-cross" ).replaceWith("
"); $( "input#nick.form-control").replaceWith(""); $( "#adbg" ).replaceWith(""); $( "#container" ).replaceWith(""); $( "span.text-muted" ).after("Press Shift to full split
Press Q to macro feed
"); $( "#pre-join-party-btn" ).after(""); $( "#pre-join-party-btn" ).after(""); //$( "#overlays" ).append('

Clan

'); $( "head" ).append(''); $( "#options").append(""); $( "#gamemode" ).replaceWith(''); addGlobalStyle("div#advertisement.agario-panel { visibility: hidden; } "); addGlobalStyle("#nick { width: 65%; margin-bottom: 5px; float: left; }"); addGlobalStyle("#gamemode { width: 65%; float: left; }"); addGlobalStyle(".form-control { border: 1px solid #000; background-color: #fff; color: #000; border-radius: 0px; transition: width 0.4s ease-in-out; } "); addGlobalStyle(".btn-success { border: 1px solid #000; background-color: #fff; color: #000; transition-duration: 0.4s; } "); addGlobalStyle(".btn-login-play { border: 1px solid #000; background-color: #fff; color: #000; transition-duration: 0.4s; } "); addGlobalStyle(".btn-info { border: 1px solid #000; background-color: #fff; color: #000; border-radius: 0px; transition-duration: 0.4s; } "); addGlobalStyle(".btn-shop, .btn-shop:active, .btn-shop:disabled { border: 1px solid #000; background-color: #fff; color: #000; transition-duration: 0.4s; } "); addGlobalStyle(".btn-warning { border: 1px solid #000; background-color: #fff; color: #000; transition-duration: 0.4s; } "); addGlobalStyle(".btn-primary { border: 1px solid #000; background-color: #fff; color: #000; border-radius: 0px; transition-duration: 0.4s; } "); addGlobalStyle(".btn-danger { border: 1px solid #000; background-color: #fff; color: #000; transition-duration: 0.4s; } "); addGlobalStyle(".btn { border-radius: 0px; box-shadow: 0 9px #999; } "); addGlobalStyle(".agario-panel { border-radius: 0px; } "); addGlobalStyle(".tosBox.right { border-radius: 0px; border: 1px solid #000; } "); addGlobalStyle(".tosBox.left { border-radius: 0px; border: 1px solid #000; } "); addGlobalStyle("small.text-muted { visibility: hidden; } "); addGlobalStyle(".plugin chrome webkit win x1 Locale_en_US { visibility: hidden; } "); addGlobalStyle(".btn-warning.disabled, .btn-warning.disabled.active, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled], .btn-warning[disabled].active, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning.active, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning { border-color: #000; cursor: not-allowed; opacity: 0.6; } "); addGlobalStyle(".btn-warning.disabled, .btn-warning.disabled.active, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled], .btn-warning[disabled].active, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning.active, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning { border-color: #000; cursor: not-allowed; opacity: 0.4; } "); addGlobalStyle("input#nick:focus { border: 3px solid #555; background-color: #6A6868; color: #fff; } "); addGlobalStyle(".btn:active { background-color: #3e8e41; box-shadow: 0 5px #666; transform: translateY(4px); } "); addGlobalStyle(".agario-panel.agario-side-panel.agario-party-2 { height: 195px; } "); addGlobalStyle(".agario-panel.agario-side-panel.agario-party-6 { height: 195px; } "); addGlobalStyle(".agario-panel.agario-side-panel.agario-party-0 { height: 195px; } "); addGlobalStyle(".opts { margin-left: -20px; position: absolute; width: 13px; height: 13px; } "); addGlobalStyle(".us-elections { visibility: hidden; } "); chatHide(); }; var SplitInterval; var MacroInterval; var SplitDebounce = false; var MacroDebounce = false; $(document).on('keydown', function(input) { 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); } }); $(document).on('keyup', function(input) { if (input.keyCode == 16) { SplitDebounce = false; clearInterval(SplitInterval); return; } else if (input.keyCode == 81) { MacroDebounce = false; clearInterval(MacroInterval); return; } }); 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); } document.body.innerHTML += ''; var chi = document.getElementById("chatboxi"); chi.style.position = "fixed"; chi.style.bottom = "0px"; chi.style.right = "0px"; function chatDeploy() { document.getElementById("chatboxi").style.height = "300px";} function chatHide() { document.getElementById("chatboxi").style.height = "0px";}