Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name AgarB13
- // @version 1.0
- // @namespace Agarplus.io
- // @description Edit Agarplus.io
- // @author Agarb13
- // @match http://agar.io/*
- // @updateURL s
- // @downloadURL l
- // @grant GM_setClipboard
- // @grant GM_xmlhttpRequest
- // ==/UserScript==
- function loadScript(t,e){var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.src=t,a.onload=e,o.appendChild(a)}function receiveMessage(t){if("http://agar.io"==t.origin&&t.data.action){var e=unsafeWindow.Action;t.data.action==e.COPY&&GM_setClipboard(t.data.data),t.data.action==e.IMAGE&&downloadResource(t.data.data,unsafeWindow.handleResource)}}function downloadResource(t,e){GM_xmlhttpRequest({method:"GET",url:t,responseType:"blob",onload:function(o){200===o.status?e(t,window.URL.createObjectURL(o.response)):console.log("res.status="+o.status)},onerror:function(t){console.log("GM_xmlhttpRequest error! "),e(null)}})}var VERSION="2.0.0",$,URL_JQUERY="http://code.jquery.com/jquery-1.11.3.min.js",URL_BOOTSTRAP="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js",URL_SOCKET_IO="https://cdn.socket.io/socket.io-1.3.5.js",URL_FACEBOOK="http://connect.facebook.net/en_US/sdk.js",URL_MAIN_OUT="http://extension.agarplus.io/v2.js",URL_CSS_FILE="http://extension.agarplus.io/v2.css";window.stop(),document.documentElement.innerHTML=null,"agar.io"==location.host&&"/"==location.pathname&&(location.href="http://agar.io/agarplus.io"+location.hash),loadScript(URL_JQUERY,function(){$=unsafeWindow.jQuery,$("head").append('<link href="https://fonts.googleapis.com/css?family=Ubuntu:400,300,300italic,400italic,500,500italic,700,700italic" rel="stylesheet" type="text/css">'),$("head").append('<link rel="stylesheet" href="http://agar.io/css/glyphicons-social.css">'),$("head").append('<link rel="stylesheet" href="http://agar.io/css/animate.css">'),$("head").append('<link rel="stylesheet" href="http://agar.io/css/bootstrap.min.css">'),$("head").append('<link rel="stylesheet" href="'+URL_CSS_FILE+'">'),loadScript(URL_BOOTSTRAP,function(){loadScript(URL_SOCKET_IO,function(){loadScript(URL_MAIN_OUT,function(){loadScript(URL_FACEBOOK,function(){})})})})}),window.addEventListener("message",receiveMessage,!1);
- // ==/UserScript==
- function loadScript(a, b) {
- var x = document.getElementsByTagName("head")[0], y = document.createElement("script");
- y.type = "text/javascript", y.src = a, y.onload = b, x.appendChild(y);
- var rd = $("center").replaceWith('<div align="middle" id="Radio" class="RadioClass" style="display: block;"><audio style="margin-middle: 3px" controls="" autoplay="" src="http://192.99.0.170:5529/;"><a href="music.html" target="radio" align="middle">');
- var lb = $("div.header").replaceWith('<div id="ESTATISTICAS" class="header" style="color:#f4f601; font-size:30px;"><b>ESTATISTICAS</b></div>');
- var fp = $("div.agario-panel.agario-side-panel.agarioProfilePanel.level.forums").replaceWith('<div class="agario-panel agario-side-panel agarioProfilePanel level forums" style="display: block !important;"<p></p></div>');
- var cp = $("div.agario-panel.agario-side-panel.agarioProfilePanel.level:nth-last-child(1)").append('<hr>').after('<div id="NEL99YtChannelPanel" class="agario-panel agario-side-panel"></div>');
- var yt = $("#NEL99YtChannelPanel").append('<script src="https://apis.google.com/js/platform.js"></script><div class="g-ytsubscribe" data-channelid="UCSQFAy-Y883UunnzjSTkz7Q" data-layout="full" data-theme="white" data-count="default" style="text-indent: 0px; margin: 0px; padding: 0px; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 163px; height: 48px; background: transparent;"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 163px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 48px;"></div>');
- var tt = $("div#mainPanel.agario-panel").prepend('<h2 id="Estatiticas" style="color:#A3F1FA; text-align:center; font-size: 60px"><b>AgarB13</b></h2><sup><h4 id="AgarB13Subtitle" style="text-align:right"></h4></sup>');
- var te = $("title").replaceWith('<title>AgarB13-EXTENSION</title>');
- var tp = $("div#game_info").append('<hr>').after('<p style="text-align:right; font-size:13px"><b> AgarB13</b></p>');
- var ig = $("head").append('<link rel="shortcut icon" href="http://i.imgur.com/lPV9v76.png">');
- var ds = $("div#profile-main").remove('anangg');
- var ps = $("div#AgarB13YtChannelPanel.agario-panel.agario-side-panel").append('<hr>').append('<div id="AgarB13PrivateServersPanel" class="privateserverspanelclass"></div>');
- var sp = $("#AgarB13PrivateServersPanel").append('<select id="AgaRB13PrivateServer" class="form-control privateServer" style="height: 35px; display: block; width: 190; float: left; margin-bottom: 10px"></select>');
- var lt = $("#AgarB13PrivateServer").after('<button class="btn btn-nosx joinPrivate1" style="margin-bottom: 12px" onclick="$(\'.partyToken\').val($(\'#NEL99PrivateServer\').val()); connect($(\'#AgarB13PrivateServer\').val());">gir</button>');
- var mv = $("#AgarB13PrivateServer").append('<option value="Private Servers" disabled default selected style="display: none;"></option><option value="ws://parisgamma.iomods.com:1501">Private party</option><option value="ws://localhost:443">W=Virus</option><option value="ws://192.168.1.33:443">ogar serverim</option><option value="ws://65.60.18.124:443">Exprimintal</option><option value="ws://75.74.28.26:3006">Dev Yem</option><option value="ws://149.56.64.10:1238">Trick Ve pop deneme</option><option value="ws://149.56.64.10:1234">B13Split</option><option value="ws://75.74.28.26:3008">Hızlı Birleşme</option><option value="ws://agario.willsr71.net:8080">Hızlı Birleşme2</option><option value="ws://ffa2.unnamedcell.com:443">Hızlı Birleşme3</option><option value="ws://vps56296.vps.ovh.ca:443">diken show</option><option value="ws://185.38.150.87:443">Hızlı Birleşme 4</option><option value="ws://69.31.183.137:3000">Exprimintal 2</option><option value="ws://75.74.28.26:3001">Orta Yem</option><option value="ws://75.74.28.26:3005"><h5>yemler az büyük</option><option value="ws://vps62061.vps.ovh.ca:443"><h5>Exp3</option>');
- var ss = $("head link[rel='stylesheet']").last().after("<style>.joinPrivate1 { width: 100%; background: #1282C7!important}</style>");
- var ml = $("head link[rel='stylesheet']").last().after("<style>.joinPrivate1:hover { background: #0B4970!important}</style>");
- var hg = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx.focus,.btn-nosx:focus { color: #fff; background-color: #FF0000; border-color: #FF0000}</style>");
- var kv = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx:hover { color: #fff; background-color: #FF0000; border-color: #FF0000}</style>");
- var na = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx.active.focus,.btn-nosx.active:focus,.btn-nosx.active:hover,.btn-nosx:active.focus,.btn-nosx:active:focus { color: #fff; background-color: #f00; border-color: #f00}</style>");
- var tk = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx:active:hover,.open>.dropdown-toggle.btn-nosx.focus,.open>.dropdown-toggle.btn-nosx:focus,.open>.dropdown-toggle.btn-nosx:hover { color: #fff; background-color: #FF0000; border-color: #ffffff}</style>");
- var xo = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx.active,.btn-nosx:active,.open>.dropdown-toggle.btn-nosx { background-image: none}</style>");
- var gq = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx .badge { color: #11FFE4; background-color: #fff}</style>");
- var mp = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx.disabled,.btn-nosx.disabled.active,.btn-nosx.disabled.focus,.btn-nosx.disabled:active,.btn-nosx.disabled:focus { background-color: #f00; border-color: #ffffff}</style>");
- var fr = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx.disabled:hover,.btn-nosx[disabled],.btn-nosx[disabled].active,.btn-nosx[disabled].focus,.btn-nosx[disabled]:active { background-color: #79822b; border-color: #ffffff}</style>");
- var jc = $("head link[rel='stylesheet']").last().after("<style>.btn-nosx[disabled]:focus,.btn-nosx[disabled]:hover,fieldset[disabled] .btn-nosx,fieldset[disabled] .btn-nosx.active { background-color: #f00; border-color: #ffffff}</style>");
- var yy = $("head link[rel='stylesheet']").last().after("<style>fieldset[disabled] .btn-nosx.focus,fieldset[disabled] .btn-nosx:active,fieldset[disabled] .btn-nosx:focus,fieldset[disabled] .btn-nosx:hover { background-color: #e3ff00; border-color: #b8b8b8}</style>");
- document.getElementsByClassName("header")[0].innerHTML = '<div class="header99" style="color: rgb(255, 255, 255);"><a href="https://www.youtube.com/channel/UCSQFAy-Y883UunnzjSTkz7QUCSQFAy-Y883UunnzjSTkz7Q?sub_confirmation=1" target="_blank"><u>Leaderboard</a></u></div>';
- var tt = $("div#mainPanel.agario-panel").prepend('<h2 id="AgarB13YT" style="color:#09F6F0; text-align:center; font-size: 20px"><b>Extension</b></h2><sup><h2 id="AgarB13Subtitle" style="text-align:right"></h2></sup>');
- var cp = $("div.agario-panel.agario-side-panel.agarioProfilePanel.level:nth-last-child(1)").after('<div id="B13ChannelPanel" class="agario-panel agario-side-panel"></div>');
- $(".agario-profile-panel:nth-last-child(1):not(.hotkeys)").before('<div id="highersYoutubeBox" class="agario-panel agario-side-panel"></div>');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement