Guest User

Untitled

a guest
Oct 27th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. // ==UserScript==
  2. // @name OGARio - xNEL99x v3
  3. // @version 3.0
  4. // @namespace v3
  5. // @description OGARio Edit
  6. // @website http://youtube.com/c/NEL99Graphics
  7. // @author szymy | NEL99
  8. // @match http://agar.io/*
  9. // @include https://agar.io/*
  10. // @updateURL http://xagar-scriptx.tk/nel99/v3_v3.user.js
  11. // @downloadURL http://xagar-scriptx.tk/nel99/v3_v3.user.js
  12. // @run-at document-start
  13. // @grant GM_xmlhttpRequest
  14. // @connect agar.io
  15. // ==/UserScript==
  16.  
  17. if(location.host=="agar.io"&&location.pathname=="/"){location.href="http://agar.io/v3"+location.hash;return;}
  18.  
  19. 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>/];
  20.  
  21. function injectArray(e) {
  22. var t = e.replace("</head>",array[1]+array[2]+array[3]+array[4]+array[5]+array[6],"</head>");
  23. t = t.replace(array[7],"");
  24. t = t.replace(array[8],"");
  25. t = t.replace("</body>",array[0],"</body>");
  26. return t;
  27. }
  28.  
  29. window.stop();
  30.  
  31. document.documentElement.innerHTML = "";
  32. GM_xmlhttpRequest({
  33. method : "GET",
  34. url : "//agar.io/",
  35. onload : function(o){
  36. var d = injectArray(o.responseText);
  37. document.open();
  38. document.write(d);
  39. document.close();
  40. }
  41. });
Add Comment
Please, Sign In to add comment