Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
how do i fix ( "no viable alternative at input 'DELAY'", )

[error] script [ auto-clicker ] stopped with error in line 2 at column 6 [error] SyntaxError ( "no viable alternative at input 'DELAY'", )

im not sure how to fix this ive tried to make the input delay vary between 0-0.1 so that is has a alternative but it didnt work heres the code

javascript; const DELAY = 0; const autoClickerStyleElement = document.createElement('style'); autoClickerStyleElement.innerHTML = '*{cursor: crosshair !important;}'; document.body.appendChild(autoClickerStyleElement); function addClicker(e) { if (!e.isTrusted) { return; } if (e.target.classList.contains('auto-clicker-target')) { e.target.classList.remove('auto-clicker-target'); } else { e.target.classList.add('auto-clicker-target'); }document.body.removeChild(autoClickerStyleElement); document.body.removeEventListener('click', addClicker); e.preventDefault(); autoClick(e.target); } function autoClick(element) { if (element.classList.contains('auto-clicker-target')) { element.click(); setTimeout(() => { autoClick(element); }, DELAY); } }document.body.addEventListener('click', addClicker, 0);

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!