Skip to content

Instantly share code, notes, and snippets.

@AlexKvazos
Created May 12, 2020 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexKvazos/d5ac5ae55760b3cdba05f3e41bb4b722 to your computer and use it in GitHub Desktop.
Save AlexKvazos/d5ac5ae55760b3cdba05f3e41bb4b722 to your computer and use it in GitHub Desktop.
Copy this to your devtools console to get over 300 WPM in 10fast fingers
function work() {
document.getElementById('inputfield').value = document.querySelector('span.highlight').innerText + ' ';
setTimeout(() => document.getElementById('inputfield').dispatchEvent(new KeyboardEvent('keyup', { which: '32', keyCode: '32' })))
}
const interval = setInterval(work, 200);
setTimeout(() => clearInterval(interval), 1000 * 60);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment