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

159
Views
can sites detect javascript executions on consoles?

Im building a bot and im wondering whether if its even possible for sites to detect javascript executions on the console. For example for a certain site the bot needs to add the item to cart and I do this

document.getElementsByClassName('w_C8 w_DA w_DF')[0].click()

through the bot will sites be able to detect that it wasn't an actual human clicking or will they automatically now it was code run to click the button

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Yes they will be able to detect that, because click event contains more than just an information that it have been clicked, for example coordinates of a mouse pointer. You can check that yourself by defining onclick function, for example:

document.body.onclick = function(e){console.log(e)};
document.body.click();

Now click and check the difference in console.

In onclick event object there is also a direct notification if it was actually clicked, or triggered:

e.isTrusted: false // clicked automatically
e.isTrusted: true // real click

Does anybody actually check that? Most sites surely don't.

about 4 years ago · Juan Pablo Isaza Report
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!