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

172
Views
inserting iframe with same url as stackoverflow into stackoverflow makes stakeoverflow reloading

I am trying to add additional DOM elements into stackoverflow for a project.

I am doing this with the developer tools (in chrome).

When I edit the html and add for example:

<h1>Got Milk?</h1>

into stackoverflow everything is ok

Then I tried it with an ifame:

<iframe src="https://google.com/" title="Hey I am just learning"></iframe>

this does not work because of the cross domain policy of stackoverflow, do I understand this correct that there is NO WAY to make this work (no I am not working at stackoverflow and don't have access to their servers)

ok but now my main question is: When I try to insert an iframe with the same url like stackoverflow into SO like this:

<iframe src="https://stackoverflow.com/" title="Hey I am just learning"></iframe>

it triggers emmediately the reloading of the website! this only happens on stackoverflow, but not on other websites. Why is this so and how can i prevent this?

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!