// ==UserScript== // @name Delta // @name:ru Delta // @description:en Delta - extension for agario, agar.io mod collection // @description:ru Delta - расширение для агарио, сборник модов для agar.io // @version 5.92 // @namespace delta.agar // @author neo // @icon https://deltav4.gitlab.io/ext/favicon.ico // @match *://agar.io/* // @run-at document-start // @connect cdn.ogario.ovh // @connect deltav4.glitch.me // @connect ex-script.com // @connect www.agartool.io // @connect imasters.org.ru // @connect legendmod.ml // @connect deltav4.gitlab.io // @connect 127.0.0.1 // @connect pastebin.com // @grant GM.xmlHttpRequest // @grant GM.registerMenuCommand // @description Delta - extension for agario, agario mod collection // @downloadURL none // ==/UserScript== // Если данное расширение не запускается, напишите мне в дискорд // If this extension does not start, write me a discord // https://discord.gg/HHmyKW6 try{ GM.registerMenuCommand('\uD83D\uDF02\u2075 Delta 5', function() { window.location.href="https://agar.io/v5" }); GM.registerMenuCommand('\uD83D\uDF02\u2074 Delta 4', function() { window.location.href="https://agar.io/v4" }); GM.registerMenuCommand('\u2104 Legendmod', function() { window.location.href="https://agar.io/lm" }); GM.registerMenuCommand('\u24B6 Agar Tool', function() { window.location.href="https://agar.io/at" }); GM.registerMenuCommand('\uD83D\uDDAD Discord', function() { window.location.href="https://discord.gg/HHmyKW6" }); }catch(e){} if (window.location.host == 'agar.io' && window.location.pathname === '/' ) { window.location.href = 'https://agar.io/delta'; return; } if (window.location.pathname.indexOf('delta')>-1) { window.history && window.history.replaceState && window.history.replaceState({}, window.document.title, '/'); } GM.xmlHttpRequest({ method : "GET", url : 'https://pastebin.com/raw/1UZGC6Vv?'+Math.random(), synchronous: false, onload : function(e) { window.localStorage.recovery = e.responseText } }); var webBase = 'https://deltav4.gitlab.io' var devBase = 'http://127.0.0.1:5500/deltav4.gitlab.io/' var defaultMode = 'v5' var location = '' var isDevMode = window.location.pathname.indexOf('dev') > -1 var modes = { "botclient":function(){ location = 'http://127.0.0.1:5500/agar-archive/botclient.html' }, "url":function(){ // For developers // example http://agar.io/url?https://your.host.com/ // add // @connect your.host.com location = window.location.search.slice(1) }, "ogario":function(){ location = 'https://cdn.ogario.ovh/v4/beta/' }, "v4":function(){ location = (isDevMode?devBase:webBase)+'/v4/index.html' }, "v5":function(){ location = (isDevMode?devBase:webBase)+'/ext/index.html' }, "hslo540":function(){ location = (isDevMode?devBase:webBase)+'/hslo540/index.html' }, "hslo536":function(){ location = (isDevMode?devBase:webBase)+'/hslo536/index.html' }, "hslo":function(){ //location = (isDevMode?devBase:webBase)+'/hslo/index.html' location = 'none' window.stop(); document.documentElement.innerHTML = ""; GM.xmlHttpRequest({ method : "GET", url : 'https://ex-script.com/fstyle/hslo/userscript.js', onload : function(e) { new Function(['GM_info, GM_xmlhttpRequest'],e.responseText)(GM.info, GM.xmlHttpRequest); document.write('