Is there any way this can actually be done? Adding onload to the iframe element fires almost instantly, long before the content of the iframe has loaded. I believe the onload event needs to be added to the document of the iframe, however this is not possible when it is cross origin. I also know that you can post messages between iframes, but this is not possible in my use case.
I would greatly appreciate any help with this.