Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -
- Download Here --> https://tinyurl.com/2s39bs69 (Copy and Paste Link)
- Greasy Fork
- Changes the Accuracy score based on errors against the whole typing test.
- Cara pemasangan
- You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Userscripts to install this script.
- You will need to install a user script manager extension to install this script.
- Cara pemasangan
- You will need to install an extension such as Stylus to install this script.
- You will need to install an extension such as Stylus to install this script.
- You will need to install an extension such as Stylus to install this script.
- You will need to install a user style manager extension to install this script.
- You will need to install a user style manager extension to install this script.
- // ==UserScript== // @name Nitro Type - Racing Accuracy Alt Metric // @version 0.1.1 // @description Changes the Accuracy score based on errors against the whole typing test. // @author Toonidy // @match *://*.nitrotype.com/race // @match *://*.nitrotype.com/race/* // @icon https://i.ibb.co/YRs06pc/toonidy-userscript.png // @grant none // @license MIT // @namespace https://greasyfork.org/users/858426 // @require https://greasyfork.org/scripts/443718-nitro-type-userscript-utils/code/Nitro%20Type%20Userscript%20Utils.js?version=1042360 // ==/UserScript== /* global findReact */ const raceContainer = document.getElementById("raceContainer"), reactObj = raceContainer ? findReact(raceContainer) : null if (!raceContainer || !reactObj) const style = document.createElement("style") style.appendChild( document.createTextNode(` .dash-metrics .accuracy-rounded `) ) document.head.appendChild(style) const server = reactObj.server, currentUserID = reactObj.props.user.userID server.on("status", (e) => const lessonLength = e.lessonLength if (!lessonLength) const accuracyNode = raceContainer.querySelector(".dash-metrics .list-item:nth-of-type(2) span.h4") if (!accuracyNode) accuracyNode.textContent = "100.00" const roundedAccuracyNode = document.createElement("div") roundedAccuracyNode.innerHTML = `%` accuracyNode.parentNode.append(roundedAccuracyNode) let errors = 0, skipped = 0 const refreshAccuracy = () => server.on("update", refreshAccuracy) const originalSendPlayerUpdate = server.sendPlayerUpdate server.sendPlayerUpdate = (data) => if (typeof data.e === "number") if (canRefresh) > >)
- Greasy Fork
- NitroType Auto Reload for windows 7, XP, and more (Older PC's that don't load instantly
- Automatically reloads the page at the end of each race.
- Hur man installerar
- You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.
- You will need to install an extension such as Tampermonkey or Userscripts to install this script.
- You will need to install a user script manager extension to install this script.
- Hur man installerar
- You will need to install an extension such as Stylus to install this script.
- You will need to install an extension such as Stylus to install this script.
- You will need to install an extension such as Stylus to install this script.
- You will need to install a user style manager extension to install this script.
- You will need to install a user style manager extension to install this script.
- Skapare MoreAccurateThanU_NT Dagliga installationer 0 Totala installationer 18 Betyg 0 0 0 Version 2.1.0 Skapad 2022-10-21 Uppdaterad 2022-10-21 Licens MIT
- // ==UserScript==// @name NitroType Auto Reload for windows 7, XP, and more (Older PC's that don't load instantly// @author Ray Adams / TheGoatJack1// @namespace https://github.com/Ray-Adams// @description Automatically reloads the page at the end of each race.// @version 2.1.0// @match *://*.nitrotype.com/race// @match *://*.nitrotype.com/race/*// @homepageURL https://github.com/Ray-Adams/NitroType-Archive// @run-at document-end// @grant none// @license MIT// ==/UserScript==
- const options = timerMs: 400, // slight delay to make sure the race gets logged reloadWhenDisqualified: true>;
- const returnToGarageBtn = document.querySelector('.btn--secondary[href="/garage"]');const raceContainer = document.getElementById('raceContainer');const dashCenter = document.querySelector('.dash-center');
- // Watch for error modalconst dqObserver = new MutationObserver((mutationList, observer) => mutationList.forEach(mutation => mutation.addedNodes.forEach(node => if (!node.classList.contains('modal--error')) return;
- if (options.reloadWhenDisqualified) dqObserver.observe(raceContainer, );>
- // Prevent button from firing the dqObserver (bug fix)returnToGarageBtn.addEventListener('click', () => dqObserver.disconnect();>);
- // Watch for class changes on the last letterconst lastLetterObserver = new MutationObserver(mutationList => mutationList.forEach(mutation => if (!mutation.target.classList.contains('is-correct')) return;
- lastLetterObserver.disconnect(); setTimeout(() => location.reload(), options.timerMs); >);>);
- // Wait for the dashboard to load before observing the lesson textconst lessonObserver = new MutationObserver((mutationList) => mutationList.forEach(mutation => mutation.addedNodes.forEach(node => if (node.className !== 'dash-copyContainer') return;
- const letters = document.querySelectorAll('.dash-letter'); const lastLetter = letters[letters.length - 2];
- lessonObserver.disconnect(); lastLetterObserver.observe(lastLetter, ); >); >);>);lessonObserver.observe(dashCenter, );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement