Cross domain iframe content load detection

The easiest way (if you can get code added to the external sites) is to have them add an invisible iframe pointing to a special html file on your domain. This could then use parent.parent.foo() to notify the original window about the load event.

Listening for the “load” event will only tell you if the window loaded, not what was loaded or if the document is ready for interaction.

Leave a Comment