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

125
Views
Cómo redirigir a otro sitio después de que captcha se haya completado con éxito

Estoy usando Google reCAPTCHA en mi sitio. Si el captcha es exitoso, quiero redirigir a otro sitio web.

El código que usé es:

 <script src="https://www.google.com/recaptcha/api.js" async defer></script> <script type="text/javascript"> if (grecaptcha.getResponse() == "success") { function Redirect() { window.location = "example.com"; } document.write("You will be redirected to a new page in 5 seconds "); setTimeout('Redirect()', 1000); } } else { alert("You can't proceed!"); </script> <body> <div data-type="image" class="g-recaptcha" data-sitekey="public site key"></div> </body>

Pero no está funcionando.

editado

Simplemente no entiendo mucho JavaScript. Por eso preguntaba y sigo sin entender. Qué significa y qué tengo que ver con eso. https://www.google.com/recaptcha/api/siteverify ¿Puede darme un ejemplo de código completo?

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!