Quick Repeat of Failed Tests #5870
Replies: 3 comments 1 reply
-
|
I am looking for a repeat keyboard shortcut also. Looking to practice the same test a few times without having to use the mouse. |
Beta Was this translation helpful? Give feedback.
-
|
I use tampermonkey for that works perfect, you need just to hit R on results screen `// ==UserScript== (function() { })();` |
Beta Was this translation helpful? Give feedback.
-
|
I use this: // ==UserScript==
// @name Restart Key
// @namespace Violentmonkey Scripts
// @icon data:image/svg+xml;base64,CiAgICA8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDY0IDY0Ij4KICAgICAgPHN0eWxlPgogICAgICAgICNiZ3tmaWxsOiMyODI4Mjg7fQogICAgICAgIHBhdGh7ZmlsbDojZDc5OTIxO30KICAgICAgPC9zdHlsZT4KICAgICAgPGc+CiAgICAgICAgPHBhdGggaWQ9ImJnIiBkPSJNMCAxNlEwIDAgMTYgMGgzMnExNiAwIDE2IDE2djMycTAgMTYtMTYgMTZIMTZRMCA2NCAwIDQ4Ii8+CiAgICAgICAgPHBhdGggZD0iTTkuMDkgMjQuMXYyMS4yaDUuMTJWMzMuMXEuMjU2LTQuNjEgNC40OC00LjYxIDMuNDYuMzg0IDMuNDYgMy44NHYxMi45aDUuMTJ2LTExLjVxLS4xMjgtNS4yNSA0LjQ4LTUuMjUgMy40Ni4zODQgMy40NiAzLjg0djEyLjloNS4xMnYtMTIuMnEwLTkuNDctNy4wNC05LjQ3LTQuMjIgMC03LjA0IDMuNDYtMi4xOC0zLjQ2LTYuMDItMy40Ni0zLjQ2IDAtNi4wMiAyLjQzdi0yLjA1TTQ3IDE4Ljl2NS4xMmgtNC42MXY1LjEySDQ3djE2LjFoNS4xMnYtMTYuMWg0LjYxdi01LjEyaC00LjYxVjE4LjkiLz4KICAgICAgPC9nPgogICAgPC9zdmc+CiAgICA=
// @version 1.0.0
//
// @match https://monkeytype.com/
// @grant none
//
// @author -
// @description
// ==/UserScript==
document.addEventListener('keydown', (e) => {
if (e.code === 'KeyR' && !document.querySelector("#result").classList.contains("hidden")) {
const repeatButton = document.querySelector('#restartTestButtonWithSameWordset');
if (repeatButton) repeatButton.click();
}
});Hit the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In an effort to increase my speed and accuracy I'm using a
min accuracyandweakspotfrom thefunboxand would like to be able to quickly repeat the previously failed test, or optionally to toggle thequick restartto insteadquick repeata failed test.If this would not be a priority for the maintainers, then would someone at least be willing to look at my PR if I added this feature? In that case, I've identified the following relevant source files, but given my unfamiliarity with the codebase and inexperience in Node and TypeScript, I may have missed some, but I'm willing to learn. 😀
May be related to #2627, but I'm requesting a slightly different implementation and willing to help.
Beta Was this translation helpful? Give feedback.
All reactions