Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

151
Visualizações
Execute a function on a site which is normally executed by clicking a button

I am trying to execute a function on a site which is normally executed by clicking the button, without clicking the actual button (so either through the console or another way)

site: https://clickthatbutton.com/

As you can see on the site once you click the button it adds a click to this sentence: "7 CLICKS FROM YOU... THANK YOU". I want to run the function that adds 1 click to that sentence without clicking the button or changing the number in elements.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

$("#click").submit()

from the console

Interestingly they should not have called the button "submit"

about 4 years ago · Juan Pablo Isaza Relatório

0

You first need to find the element you want to target, in this case the id is #submit. Then you can use the native function click() on it.

document.querySelector('#submit').click()

The website exoses Jquery but this can perfectly be done with native functions.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda