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

215
Visualizações
If iframe navigates to external domain open in new tab

I'm working with an iframe that is of a document on my domain and I have control of most of the source of. However I have button that does not have a href attached to it but rater triggers a js function to generate a url and redirect the page, I do not have control over the source of this button(even though its loaded from my domain). The page that is redirected to is outside of my domain and does not allow iframe connections, nor do I really want this to be opened inside the iframe anyways. I'm looking to detect when the button is pressed and begin listening for the page redirect to force it to open as a new tab/window.

I've tried a couple dozen of combination of things at this point, no luck yet.

Any help would be greatly appreciated, I don't work with iframes often.

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