Nitro Type default cursor to a random Nitro Type car changer

Every time you click on the page, or refresh page, the cursor changes to a random Nitro Type car.

  1. // ==UserScript==
  2. // @name Nitro Type default cursor to a random Nitro Type car changer
  3. // @namespace https://www.nitrotype.com/racer/ginfio_best
  4. // @version 1.0
  5. // @description Every time you click on the page, or refresh page, the cursor changes to a random Nitro Type car.
  6. // @author Ginfio
  7. // @match https://www.nitrotype.com/*
  8. // ==/UserScript==
  9.  
  10.  
  11. var cursor = "get${cursor}";
  12. /*cursor.convert("https://www.nitrotype.com/car${random}")
  13. return cursor.random(x*222);
  14.  
  15. api.get(name); SkittlesTyper()
  16. */
  17.  
  18.  
  19. window.onload = function(){
  20. document.body.addEventListener("click", function(){
  21. document.body.style.cursor = "url(https://www.nitrotype.com/cars/"+Math.floor(Math.random()*217)+"_small_1.png), auto";
  22. })
  23. }