Skip to content

Instantly share code, notes, and snippets.

View AlexKvazos's full-sized avatar
🌎
Working Remotely

Alex Cavazos AlexKvazos

🌎
Working Remotely
View GitHub Profile
@AlexKvazos
AlexKvazos / 10fastfingers.js
Created May 12, 2020 03:31
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);