How can I detect that an iframe on my page starts to load a new page?
Our situation is:
There is already a possible solution at: iFrame src change event detection?
However, if you want to manipulate the target page, then it is not needed to touch the iframe-target file content. Just add the correct JS code in parent page and it can access SAME-ORIGIN iframe. I used something like this:
more at: https://jsfiddle.net/Lnb1stc8/