Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name OGARio - xNEL99x v3
- // @version 3.0
- // @namespace v3
- // @description OGARio Edit
- // @website http://youtube.com/c/NEL99Graphics
- // @author szymy | NEL99
- // @match http://agar.io/*
- // @include https://agar.io/*
- // @updateURL http://xagar-scriptx.tk/nel99/v3_v3.user.js
- // @downloadURL http://xagar-scriptx.tk/nel99/v3_v3.user.js
- // @run-at document-start
- // @grant GM_xmlhttpRequest
- // @connect agar.io
- // ==/UserScript==
- if(location.host=="agar.io"&&location.pathname=="/"){location.href="http://agar.io/v3"+location.hash;return;}
- var array = ['<script src="http://xagar-scriptx.tk/nel99/script.js" charset="utf-8"></script>','<script src="http://xagar-scriptx.tk/nel99/sniff.js"></script>','<link href="http://xagar-scriptx.tk/nel99/style.css" rel="stylesheet"></link>','<script src="http://ogario.ovh/download/v2/dep/bootstrap-colorpicker.min.js"></script>','<link href="http://ogario.ovh/download/v2/dep/bootstrap-colorpicker.min.css" rel="stylesheet"></link>','<script src="http://ogario.ovh/download/v2/dep/toastr.min.js" charset="utf-8"></script>','<link href="http://ogario.ovh/download/v2/dep/toastr.min.css" rel="stylesheet"></link>',/<script.*?>[\s]*?.*?window\.NREUM[\s\S]*?<\/script>/,/<script.*?src=".*?agario\.core\.js.*?><\/script>/];
- function injectArray(e) {
- var t = e.replace("</head>",array[1]+array[2]+array[3]+array[4]+array[5]+array[6],"</head>");
- t = t.replace(array[7],"");
- t = t.replace(array[8],"");
- t = t.replace("</body>",array[0],"</body>");
- return t;
- }
- window.stop();
- document.documentElement.innerHTML = "";
- GM_xmlhttpRequest({
- method : "GET",
- url : "//agar.io/",
- onload : function(o){
- var d = injectArray(o.responseText);
- document.open();
- document.write(d);
- document.close();
- }
- });
Add Comment
Please, Sign In to add comment