title: prevent iframe from redirecting parent page
body: <p>This is the situation:
  I have on the same domain, an iframe inside my web site.
  currently, I have no immediate  access to the iframe code as of deployment issues.</p>
  
  <p>when the iframe loads, the code inside it detects something that triggers a redirection on the parent page. Temporarily, I want to remove it. I know I can use the onbeforeload, but a warning will be displayed every time the user click on a any link.</p>
  
  <p>Is there a way I can detect the redirection? it happens before the main parent page is fully loaded.</p>
  
  <p>I googled it a lot but still have no working solution.</p>
  
  <p>Thanks!</p>