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

222
Views
Recaptcha image missing if using browser back button

I am using PHP to create the page. Now my problem is force reloading a page when using browser back button, the recaptcha image is missing.

I use this code, but didn't work:

var perfEntries = performance.getEntriesByType("navigation");

if (perfEntries[0].type === "back_forward") {
    location.reload(true);
}

Below is the result:

result

This is video to show how I get the error link : https://drive.google.com/file/d/13vaAf5X7P5RFrQZ9OPD7dDRfCne3QFVL/view?usp=sharing

I have also add this code in the body, but also didn't work:

body onLoad="javascript:Recaptcha.reload()"

Hope someone can guide me on how to solve the problem. Thanks.

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!