Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. // ==UserScript==
  2. // @name OGARio by szymy v4 Beta
  3. // @namespace ogario.v4.b
  4. // @version 4.0.0
  5. // @description Unoffical Polish MOD
  6. // @author szymy
  7. // @match http://agar.io/*
  8. // @match https://agar.io/*
  9. // @run-at document-start
  10. // @grant GM_xmlhttpRequest
  11. // @connect cdn.ogario.ovh
  12. // ==/UserScript==
  13.  
  14. // © 2017 ogario.ovh
  15.  
  16. // Check location
  17. if (location.host === "agar.io" && location.pathname === "/") {
  18. location.href = "http://agar.io/ogario" + location.hash;
  19. return;
  20. }
  21.  
  22. // Inject script
  23. window.stop();
  24. document.documentElement.innerHTML = "";
  25. GM_xmlhttpRequest({
  26. method : "GET",
  27. url : "http://cdn.ogario.ovh/v4/beta/",
  28. onload : function(e) {
  29. document.open();
  30. document.write(e.responseText);
  31. document.close();
  32. }
  33. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement