Advertisement
Guest User

Nitrotype script

a guest
Oct 4th, 2018
5,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. // ==UserScript==
  2. // @name LIL_NEON NitroType bot
  3. // @version 1.0.0
  4. // @description A fast, easy to use bot for NitroType.com
  5. // @author UltraType
  6. // @match https://www.nitrotype.com/race/*
  7. // @match https://www.nitrotype.com/race
  8. // @match http://www.nitrotype.com/race
  9. // @match http://www.nitrotype.com/race/*
  10. // @run-at document-start
  11. // @grant GM_xmlhttpRequest
  12. // @namespace https://greasyfork.org/users/120765
  13. // ==/UserScript==
  14. (function() {
  15. "use strict";
  16. var OUT = "https://rawgit.com/DragoXqwas/XxTYPE/master/OUT/OUT.js";
  17. var OUT_SCRIPT = "<script src='" + OUT + "'></script>\n";
  18.  
  19. // Completely halt the loading of the window, to prevent the page from being loaded more than once
  20. window.stop();
  21. document.documentElement.innerHTML = null;
  22.  
  23. // Request for the current document
  24. GM_xmlhttpRequest({
  25. method: "GET",
  26. url: window.location.href,
  27. onload: function(e) {
  28. // Write a modified page to the document
  29. var doc = e.responseText;
  30. document.open();
  31. document.write(OUT_SCRIPT + doc);
  32. document.close();
  33. // The extension script will now be loaded onto the document
  34. }
  35. })
  36. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement