$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
Checkbox Olympics
31–40 of 51 posts
Re: Checkbox Olympics
#32$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
Re: Checkbox Olympics
#33Re: Checkbox Olympics
#34Re: Checkbox Olympics
#35$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
Re: Checkbox Olympics
#36r/mildlyinteresting, but would have been better if after the race you were shown your rank among other participants.
Re: Checkbox Olympics
#37Re: Checkbox Olympics
#38I wonder if he renews them on the cheap somehow, either way there are some really funny ones in there
Re: Checkbox Olympics
#39$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
(() => {
const targ = $(".setGo");
const targ2 = $(".theSport > div:nth-child(2)");
const observer = new MutationObserver((mutations, observer) => {
if (mutations[0]?.target?.classList.contains('going')) {
targ2.childNodes.forEach(c => c.click());
}
});
observer.observe(targ, {
subtree: false,
attributes: true
});
$('.readyButton').click()
})();
This gives me consistent Time: 0.001 in FF. "Time: not yet set" in Edge/Chrome.Re: Checkbox Olympics
#40That's me knocked out in the qualifying rounds of the checkbox olympics ;-)