Comment

Comment by phelipetls

Or use requestAnimationFrame to run infinitely at ~60fps

    window.requestAnimationFrame(function clickButton() {
        document.querySelector(".main-btn").click()
        window.requestAnimationFrame(clickButton)
    })
parent phelipetls 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton