Skip to content

Instantly share code, notes, and snippets.

View thegamerx1's full-sized avatar
🎯
Focusing

Ander thegamerx1

🎯
Focusing
View GitHub Profile
@thegamerx1
thegamerx1 / typeracer.hack.js
Last active July 26, 2022 04:20 — forked from SitanHuang/typeracer.hack.js
Typeracer 100% hack
function sleep(ms) {return new Promise(resolve => setTimeout(resolve, ms));}
function triggerKeyboardEvent(e,t,n){var c=document.createEventObject?document.createEventObject():document.createEvent("Events");c.initEvent&&c.initEvent(n,!0,!0),c.keyCode=t,c.which=t,e.dispatchEvent?e.dispatchEvent(c):e.fireEvent("onkeydown",c)}
$=$$
content = $('table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(1) > td > div > div')[3].textContent.split('');
i = 0;
function a() {
if (i == content.length) return;
input = $('table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(2) > td > input')[0]
input.focus()