10. <script src="…">
• bad, bad
• blocks everything there is
• never ever
http://www.phpied.com/3po-fail/
+ SPOF-O-Matic
11. Async JS
• dynamic script node
• not as short
• mostly default now
• only blocks onload in !IE
http://calendar.perfplanet.com/2011/the-art-and-craft-of-the-async-snippet/
http://www.phpied.com/social-button-bffs/
12. unblocking onload
• does it matter?
1. window.onload =
function(){...};
2. FIF/Friendly iFrames/Meebo
13. fif
1) create
iframe
src="js:false"
2) in the frame doc.write a
<body onload …
3) …that loads JS