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

169
Visualizações
How to know if a site can be loaded in an iframe or not?

I have designed a website containing an iframe that loads another website that I previously designed in Django. However, the content website contains links to pages that may or may not be contained in an iframe. To solve this problem, my iframe would have to be able to know if a link leads to a page that it can contain and if not open the page of the link in a new tab. However, I don't know which property to use in order to know if a page allowing loading in an iframe. Also, I hope to get your help. Here is the code of my iframe:

export default function SearchEngine() {
  return (
    <iframe
      width="100%"
      height="1300"
      src="https://gkwhelps.herokuapp.com"
    ></iframe>
  );
}

Thanks!

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