$('.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! $('.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.