How can I get the URL
of an iframe that load a page in other site (CORS)?
iFrameObject.contentWindow.location.href
returns CORS Error
UPDATE:
The user will navigate inside the iframe and will get another url that I didn't know. This is what I want to check, if the user gets to that url, the iframe close itself.
Related question: How to get data from an external site inside a cordova application? (I'm trying to get the information in the paramters of the url)