$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000)
(() => { 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() })();