Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name OGARio - SYx
- // @version 1.0
- // @namespace OGARio - SYx
- // @description OGARio edited
- // @author szymy - SYx
- // @match http://agar.io/*
- // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
- // @run-at document-start
- // @grant GM_setClipboard
- // @grant GM_xmlhttpRequest
- // @grant GM_addStyle
- // ==/UserScript==
- var ogarioJS = '<script src="http://ogario.ovh/le/ogario.le.js"></script>';
- var ogarioSniffJS = '<script src="http://ogario.ovh/le/ogario.sniff.js"></script>';
- var ogarioCSS = '<link href="http://ogario.ovh/le/ogario.le.css" rel="stylesheet"></link>';
- var cpickerJS = '<script src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/js/bootstrap-colorpicker.min.js"></script>';
- var cpickerCSS = '<link href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/css/bootstrap-colorpicker.min.css" rel="stylesheet"></link>';
- var toastrJS = '<script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>';
- var toastrCSS = '<link href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet"></link>';
- var syxJS = '<script src="http://www.googledrive.com/host/0B3-sWoWDO-UERldZYlF5RVlKUkE/syx_ogar.js"></script>';
- // Inject OGARio LE
- function inject(page) {
- var _page = page.replace("</head>", cpickerCSS + toastrCSS + ogarioCSS + cpickerJS + toastrJS + ogarioSniffJS + syxJS +"</head>");
- _page = _page.replace("agario.core.js", "");
- _page = _page.replace("</body>", ogarioJS + "</body>");
- return _page;
- }
- window.stop();
- document.documentElement.innerHTML = null;
- GM_xmlhttpRequest({
- method : "GET",
- url : "http://agar.io/",
- onload : function(e) {
- var doc = inject(e.responseText);
- document.open();
- document.write(doc);
- document.close();
- }
- });
Add Comment
Please, Sign In to add comment