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

280
Views
CefSharp - Can't access parent of iFrame if parent has an opener

Scenario:

  • page1 contains a hyperlink which opens page2 in a separate tab.
  • page2 loads content in an iFrame

Both pages and the iFrame content are from the same domain.

If the hyperlink in page1 has target="_blank" rel="noopener noreferrer" then the iFrame in page2 can access window.parent. If the hyperlink in page2 has target="my-tab-name" then the iFrame in page2 crashes when it tries to access any properties of window.parent.

This does not happen in chrome, it only happens when the page is loaded in a CefSharp browser. I inherited the C# code so I don't know if I'm missing some settings, but I can't see anything obvious.

about 4 years ago · Santiago Trujillo
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!