Readit News logoReadit News
i8i76876 commented on Stimulation Clicker   neal.fun/stimulation-clic... · Posted by u/meetpateltech
ipsum2 · 8 months ago
Running it async will prevent the main screen from lagging:

  (async () => {
    const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms));
    for (let i = 0; i < 10000; i++) {
        document.getElementsByClassName('main-btn')[0].click();
        await delay(5); // 5 ms sleep
    }
  })();

i8i76876 · 8 months ago
7i67i76i76i76i798778kiki87778uuuuuuuujjjjjjjkkkkkkkk

u/i8i76876

KarmaCake day1January 9, 2025View Original