Even better, this only happens if you start the navigation after the iframe is in the DOM. If you set the src and _then_ append to the DOM, then it block's the parent page's load event.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
do you mean a script that injects content into the iframe or just adding an iframe with a src?
-
I mean adding an iframe with an src. If you set the src first then add, load event waits for that load. If you add, then set src it does not.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.