This is the situation: I have the same iframe domain inside my website. I currently do not have immediate access to the iframe code as deployment problems arise.
when an iframe loads, the code inside it detects what causes a redirect to the parent page. Temporarily, I want to delete it. I know that I can use onbeforeload, but a warning will be displayed every time the user clicks on any link.
Is there a way to detect redirection? this happens before the main parent page is fully loaded.
I worked a lot at Google, but I did not have a working solution.
Thank!
source
share