MHN
Add a comment on Hacker News →
1 of 589 comments
  1. Enjoy

    let button = document.querySelector('.main-btn');
    document.querySelector('.main-btn');
    if (button) {
    let clickCount = 0;
    const interval = setInterval(() => {
    button.click();
    clickCount++;
    if (clickCount >= 10000000) {
    clearInterval(interval);
    console.log('Clicked 1000 times!');
    }
    }, 10); // Adjust the interval (10ms) if necessary
    } else {
    console.log('Button not found!');
    }