Advertisement
Mingogaming

Untitled

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