AgarB13

OGARIO-SYX BY AGARB13

Jun 1st, 2016
675
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. // ==UserScript==
  2. // @name OGARio - SYx
  3. // @version 1.0
  4. // @namespace OGARio - SYx
  5. // @description OGARio edited
  6. // @author szymy - SYx
  7. // @match http://agar.io/*
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
  9. // @run-at document-start
  10. // @grant GM_setClipboard
  11. // @grant GM_xmlhttpRequest
  12. // @grant GM_addStyle
  13. // ==/UserScript==
  14.  
  15. var ogarioJS = '<script src="http://ogario.ovh/le/ogario.le.js"></script>';
  16. var ogarioSniffJS = '<script src="http://ogario.ovh/le/ogario.sniff.js"></script>';
  17. var ogarioCSS = '<link href="http://ogario.ovh/le/ogario.le.css" rel="stylesheet"></link>';
  18. var cpickerJS = '<script src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/js/bootstrap-colorpicker.min.js"></script>';
  19. var cpickerCSS = '<link href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/css/bootstrap-colorpicker.min.css" rel="stylesheet"></link>';
  20. var toastrJS = '<script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>';
  21. var toastrCSS = '<link href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet"></link>';
  22. var syxJS = '<script src="http://www.googledrive.com/host/0B3-sWoWDO-UERldZYlF5RVlKUkE/syx_ogar.js"></script>';
  23.  
  24.  
  25. // Inject OGARio LE
  26. function inject(page) {
  27. var _page = page.replace("</head>", cpickerCSS + toastrCSS + ogarioCSS + cpickerJS + toastrJS + ogarioSniffJS + syxJS +"</head>");
  28. _page = _page.replace("agario.core.js", "");
  29. _page = _page.replace("</body>", ogarioJS + "</body>");
  30. return _page;
  31. }
  32. window.stop();
  33. document.documentElement.innerHTML = null;
  34. GM_xmlhttpRequest({
  35. method : "GET",
  36. url : "http://agar.io/",
  37. onload : function(e) {
  38. var doc = inject(e.responseText);
  39. document.open();
  40. document.write(doc);
  41. document.close();
  42. }
  43. });
Add Comment
Please, Sign In to add comment