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

131
Visualizações
Google reCAPTCHA keeps challenging on page refresh

I have an HTML results page that loads up after a reCAPTCHA V2 challenge is successful with the results of a form completion. The trouble is that I have a javascript countdown I need on the results page that refreshes the page when the countdown expires and the purpose of this is to resubmit the form again. This is causing the reCAPTCHA to challenge again. Here is the javascript:

var timeLeft = 60;
var elem = document.getElementById("countdown");

var timerId = setInterval(countdown, 1000);

function countdown() {
  if (timeLeft == -1) {
    clearTimeout(timerId);
    elem.innerHTML = " Checking again...";
    setTimeout(function () {
      window.location.reload();
    });
  } else {
    elem.innerHTML = timeLeft + " seconds until new check";
    timeLeft--;
  }
}

How do I stop reCAPTCHA from challenging on reload? I am using a Python, Flask backend rendering the HTML template.

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