getify at gmail.com
Sat Dec 8 12:36:33 PST 2012
Further evidence that the current state of the web is not friendly with respect to how browsers default to treating script loading/parsing/executing.
From where I stand, this is more solid evidence that we actually DO need more fine-grained control over a script load, so that the Facebook/Meebo technique wouldn't be needed. Instead, you could simply load whatever you wanted asynchronously in the background, in whatever order, and at whatever time, then choose when you want each preloaded script to be executed. In that way, they get to prevent side-effects on the DOMready/onload of a page without all these crazy hacks.
As I have been doing for 2 years now, I once again implore the decision makers of the web platform to recognize the validity and utility of this feature request. Let us preload scripts by separating (in some way) the download from the parse/execution phase. IE has had this simple feature for more than a decade, since IE4. That the web platform and other browsers haven't seen the value of this yet is dismaying.
More information about the whatwg