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

116
Views
Prevent iFRame from reloading when an error occurs

I have successfully injected an iframe( its source is https://google.com) to an HTML page dom using vanilla js. But, there are a number of errors arising from injecting the iframe to the DOM.

The most common error is

crbug/1173575, non-JS module files deprecated.
(anonymous) @ VM18962:7288
m=cdos,dpf,hsm,jsa,d,csi:3553 POST https://play.google.com/log?format=json&hasfast=true&authuser=0 400

But despite the error, if I am fast, I'm able to search for something on the google page being accessed by my iframe. however, less than a second later, right before it shows this error: crbug/1173575, non-JS module files deprecated., the iframe RELOADS and goes back to the google homepage.

How do I stop the iframe from reloading or going to the previous page, despite the errors and warning?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Google does not permit https://google.com to be loaded through an iframe. That's the ultimate reason for that error you're witnessing.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

https://support.google.com/programmable-search/answer/4542055

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