Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2019
1,772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. // ==UserScript==
  2. // @name AGARBOT.OVH/AGARIO Vanilla
  3. // @namespace real agar.io from 2015.
  4. // @version v72
  5. // @description Official Javascript client from 2015/2016 before emsscripten.
  6. // @author © agarbot.ovh
  7. // @match *://agar.io/*
  8. // @run-at document-start
  9. // @grant GM_xmlhttpRequest
  10. // @connect ext.agarbot.ovh
  11. // ==/UserScript==
  12.  
  13. // Check location
  14. if (location.host === "agar.io" && location.pathname === "/") {
  15. window.stop();
  16. location.href = "https://agar.io/agarbot" + location.hash;
  17. return;
  18. }
  19. // Inject script
  20. document.documentElement.innerHTML = "";
  21. GM_xmlhttpRequest({
  22. method : "GET",
  23. url : "https://ext.agarbot.ovh/",
  24. onload : function(e) {
  25. document.open();
  26. document.write(e.responseText);
  27. document.close();
  28. }
  29. });
  30.  
  31. // © 2019 agarbot.ovh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement