Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

161
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda