How to get iframe url

0

I have an iframe that receives an "ex.com" address, and this address when it enters it is already redirected to another "ex.com?id=foo&exemplo=bar" link. I would like that when the iframe redirect, a javascript will take the new iframe url and issue an alert showing the id and example value or store them in variables, as I will use these values.

    
asked by anonymous 25.03.2017 / 22:48

0 answers