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

174
Visualizações
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
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