Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name HSLO LITE
- // @version 2.5
- // @author SZYMY | 2COOLIFE
- // @match http://agar.io/*
- // @run-at document-start
- // @grant GM_xmlhttpRequest
- // @connect agar.io
- // ==/UserScript==
- // Copyright © 2016 ogario.ovh | OAG
- if (location.host == "agar.io" && location.pathname == "/") {
- location.href = "http://agar.io/hslolite" + location.hash;
- return;
- }
- var fonts = '<link href="https://fonts.googleapis.com/css?family=Oswald:400,300" rel="stylesheet" type="text/css"><link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500" rel="stylesheet">';
- var hsloJS = '<script src="http://ransu.6te.net/main.js" charset="utf-8"></script>';
- var hsloSniffJS = '<script src="http://ransu.6te.net/sniff.js"></script>';
- var hsloCSS = '<link href="http://ransu.6te.net/style.css" rel="stylesheet"></link>';
- var cpickerJS = '<script src="http://ogario.ovh/download/v2/dep/bootstrap-colorpicker.min.js"></script>';
- var cpickerCSS = '<link href="http://ogario.ovh/download/v2/dep/bootstrap-colorpicker.min.css" rel="stylesheet"></link>';
- var toastrJS = '<script src="http://ogario.ovh/download/v2/dep/toastr.min.js" charset="utf-8"></script>';
- var toastrCSS = '<link href="http://ogario.ovh/download/v2/dep/toastr.min.css" rel="stylesheet"></link>';
- function inject(page) {
- var _page = page.replace("</head>", cpickerCSS + toastrCSS + hsloCSS + cpickerJS + toastrJS + hsloSniffJS + fonts + "</head>");
- _page = _page.replace(/<script.*?>[\s]*?.*?window\.NREUM[\s\S]*?<\/script>/, "");
- _page = _page.replace(/<script.*?src=".*?agario\.core\.js.*?><\/script>/, "");
- _page = _page.replace("</body>", hsloJS + "</body>");
- return _page;
- }
- window.stop();
- document.documentElement.innerHTML = "";
- GM_xmlhttpRequest({
- method : "GET",
- url : "http://agar.io/",
- onload : function(e) {
- var doc = inject(e.responseText);
- document.open();
- document.write(doc);
- document.close();
- }
- });
- setTimeout(function()
- {
- $("head").append("<style>.menu-tabs {background:#211D2B!important;padding:0px!important;} .btn-play {background:#bf8ae3!important;border-color:#bf8ae3!important;} .btn-spectate, .btn-success {background:#e38ace!important;border-color:#e38ace!important;} #join-party-btn {background:#e38a9c!important;border-color:#e38a9c!important;} .btn-copy-token {background:#a38cba!important;border-color:#a38cba!important;} #create-party-btn {background:#a88ae3!important;border-color:#a88ae3!important;} .btn-warning.btn-login-play {background:#000025!important;border-color:#000025!important;} .agario-panel {background:#211D2B!important;} .btn-play-guest {background:#e38a9c!important;border-color:#e38a9c!important;} .btn-fb {background:#8c94ba!important;border-color:#8c94ba!important;} .btn-gplus {background:#df837e!important;border-color:#df837e!important;} .btn-logout {background:#e38a9c!important;border-color:#e38a9c!important;} .btn-shop {background:#4f0242!important;border-color:#4f0242!important;} .btn:hover {opacity:0.7!important;} .active {background:transparent!important;}</style>");
- }, 1000);
Add Comment
Please, Sign In to add comment