Greasy Fork is available in English.

fast races nitro type

press a then space and skip the second word :)

  1. // ==UserScript==
  2. // @name fast races nitro type
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description press a then space and skip the second word :)
  6. // @author Reverse NT
  7. // @match https://www.nitrotype.com/race
  8. // @match https://www.nitrotype.com/race/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=nitrotype.com
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. const findReact = (dom, traverseUp = 0) => {
  17. const key = Object.keys(dom).find((key) => key.startsWith("__reactFiber$"))
  18. const domFiber = dom[key]
  19. if (domFiber == null) return null
  20. const getCompFiber = (fiber) => {
  21. let parentFiber = fiber?.return
  22. while (typeof parentFiber?.type == "string") {
  23. parentFiber = parentFiber?.return
  24. }
  25. return parentFiber
  26. }
  27. let compFiber = getCompFiber(domFiber)
  28. for (let i = 0; i < traverseUp && compFiber; i++) {
  29. compFiber = getCompFiber(compFiber)
  30. }
  31. return compFiber?.stateNode
  32. }
  33. setInterval(function(){findReact(raceContainer)['state']['lessonContent']='a jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj'},10);;
  34. })();