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

212
Views
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
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!