<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: the script defer attribute</title>
	<atom:link href="http://hacks.mozilla.org/2009/06/defer/feed/" rel="self" type="application/rss+xml" />
	<link>http://hacks.mozilla.org/2009/06/defer/</link>
	<description>hacks.mozilla.org</description>
	<lastBuildDate>Fri, 10 Feb 2012 00:05:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Laurent CAPRANI</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-326361</link>
		<dc:creator>Laurent CAPRANI</dc:creator>
		<pubDate>Mon, 27 Dec 2010 19:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-326361</guid>
		<description>Follow-up to the preceding comment 

&amp;ellip; and there definetly should be a way to write HTML literals within these comments!

In the preceding post, I wanted to mention «script» elements at the bottom of the «body» element.</description>
		<content:encoded><![CDATA[<p>Follow-up to the preceding comment </p>
<p>&amp;ellip; and there definetly should be a way to write HTML literals within these comments!</p>
<p>In the preceding post, I wanted to mention «script» elements at the bottom of the «body» element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent CAPRANI</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-322670</link>
		<dc:creator>Laurent CAPRANI</dc:creator>
		<pubDate>Fri, 24 Dec 2010 23:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-322670</guid>
		<description>@Marcel.
Firefox 3.6 ignores defer for any flavor of HTML (HTML 4 or XHTML) that defines it and this is unfortunate.

When they want to specify that a script interpretation must wait until the document is parsed, most developers rely on tricks like
jQuery’s $(document).ready();
onload events or
-bottom .

There definitely should be a uniform and declarative way. With defer introduced in Firefox 3.5, I thought it was it.</description>
		<content:encoded><![CDATA[<p>@Marcel.<br />
Firefox 3.6 ignores defer for any flavor of HTML (HTML 4 or XHTML) that defines it and this is unfortunate.</p>
<p>When they want to specify that a script interpretation must wait until the document is parsed, most developers rely on tricks like<br />
jQuery’s $(document).ready();<br />
onload events or<br />
-bottom .</p>
<p>There definitely should be a uniform and declarative way. With defer introduced in Firefox 3.5, I thought it was it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kn33ch41</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-316761</link>
		<dc:creator>kn33ch41</dc:creator>
		<pubDate>Tue, 21 Dec 2010 13:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-316761</guid>
		<description>There should be a defer attribute for images, particularly considering that Opera is currently the only browser that actually fires DOMContentLoaded before images begin downloading; here is a bug report on Chrome that states the issue: http://code.google.com/p/chromium/issues/detail?id=7008</description>
		<content:encoded><![CDATA[<p>There should be a defer attribute for images, particularly considering that Opera is currently the only browser that actually fires DOMContentLoaded before images begin downloading; here is a bug report on Chrome that states the issue: <a href="http://code.google.com/p/chromium/issues/detail?id=7008" rel="nofollow">http://code.google.com/p/chromium/issues/detail?id=7008</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel Korpel</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-305179</link>
		<dc:creator>Marcel Korpel</dc:creator>
		<pubDate>Tue, 14 Dec 2010 22:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-305179</guid>
		<description>@Laurent: that&#039;s the correct behaviour (per HTML 5 spec). Contrary to what the articles says, FF 3.5&#039;s behaviour is incorrect: `defer` on inline scripts should be ignored, so inline deferred scripts should be executed before external deferred scripts, even when those were included before the inline scripts.</description>
		<content:encoded><![CDATA[<p>@Laurent: that&#8217;s the correct behaviour (per HTML 5 spec). Contrary to what the articles says, FF 3.5&#8242;s behaviour is incorrect: `defer` on inline scripts should be ignored, so inline deferred scripts should be executed before external deferred scripts, even when those were included before the inline scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent CAPRANI</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-290150</link>
		<dc:creator>Laurent CAPRANI</dc:creator>
		<pubDate>Sun, 05 Dec 2010 03:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-290150</guid>
		<description>The codes do not work in Firefox 3.6 anymore.
It seems that @defer is disabled for inline scripts.</description>
		<content:encoded><![CDATA[<p>The codes do not work in Firefox 3.6 anymore.<br />
It seems that @defer is disabled for inline scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fawad Hassan</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-155083</link>
		<dc:creator>Fawad Hassan</dc:creator>
		<pubDate>Mon, 27 Sep 2010 07:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-155083</guid>
		<description>This did so to prevent execution of code here</description>
		<content:encoded><![CDATA[<p>This did so to prevent execution of code here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henry</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-45360</link>
		<dc:creator>henry</dc:creator>
		<pubDate>Fri, 01 Jan 2010 06:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-45360</guid>
		<description>Seems the post is invalid.
See bug 518104 : [HTML5] Implement HTML5 changes to   (Need to change  so that defer is ignored on inline scripts)
at
https://bugzilla.mozilla.org/show_bug.cgi?id=518104</description>
		<content:encoded><![CDATA[<p>Seems the post is invalid.<br />
See bug 518104 : [HTML5] Implement HTML5 changes to   (Need to change  so that defer is ignored on inline scripts)<br />
at<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=518104" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=518104</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Beltzner</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-1018</link>
		<dc:creator>Mike Beltzner</dc:creator>
		<pubDate>Mon, 29 Jun 2009 14:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-1018</guid>
		<description>We need to convince Google Ads to switch their script so that it uses this tag, including Doubleclick. Need, need, need.</description>
		<content:encoded><![CDATA[<p>We need to convince Google Ads to switch their script so that it uses this tag, including Doubleclick. Need, need, need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Havvy</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-969</link>
		<dc:creator>Havvy</dc:creator>
		<pubDate>Sat, 27 Jun 2009 23:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-969</guid>
		<description>@N:  Search and replace is useful in cases like that.

@Blog:  We really need to standardize the process of page loads.</description>
		<content:encoded><![CDATA[<p>@N:  Search and replace is useful in cases like that.</p>
<p>@Blog:  We really need to standardize the process of page loads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Gemal</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-961</link>
		<dc:creator>Henrik Gemal</dc:creator>
		<pubDate>Sat, 27 Jun 2009 19:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-961</guid>
		<description>BrowserSpy can also show you if defer is supported in your browser:
http://browserspy.dk/javascript.php</description>
		<content:encoded><![CDATA[<p>BrowserSpy can also show you if defer is supported in your browser:<br />
<a href="http://browserspy.dk/javascript.php" rel="nofollow">http://browserspy.dk/javascript.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-947</link>
		<dc:creator>K</dc:creator>
		<pubDate>Sat, 27 Jun 2009 09:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-947</guid>
		<description>Probably WordPress &quot;helping out&quot;; it likes to do that with quotation marks too...</description>
		<content:encoded><![CDATA[<p>Probably WordPress &#8220;helping out&#8221;; it likes to do that with quotation marks too&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: N</title>
		<link>http://hacks.mozilla.org/2009/06/defer/comment-page-1/#comment-945</link>
		<dc:creator>N</dc:creator>
		<pubDate>Sat, 27 Jun 2009 08:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://hacks.mozilla.org/?p=953#comment-945</guid>
		<description>Hmmm... the sample HTML isn&#039;t valid HTML, it does not use angle brackets but some weird &quot;stylized&quot; brackets. Someone made a big oopsie.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; the sample HTML isn&#8217;t valid HTML, it does not use angle brackets but some weird &#8220;stylized&#8221; brackets. Someone made a big oopsie.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

