6 ms·
Brute approach (This doesn't account for whether a checkbox is checked or not so I don't actually know if the game prevents everything getting checked programma
by ssharp 4y ago
Brute approach (This doesn't account for whether a checkbox is checked or not so I don't actually know if the game prevents everything getting checked programmatically all at once. I had to set the setTimeout to "2" instead of "1" so it would actually record some time!):
document.querySelector('.readyButton').click();
waitForStart();
function waitForStart() {
if (document.querySelector('.setGo').classList.value.includes("going")) {
for(x=0; x<document.querySelectorAll('input[type="checkbox"]').length; x++) { document.querySelectorAll('input[type="checkbox"]')[x].click(); }
}
else { setTimeout(waitForStart, 2); }
}