<?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: Unload event never fires in IE</title>
	<atom:link href="http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/</link>
	<description>Moxiecode Developer Blog, talking about things we come across.</description>
	<lastBuildDate>Sun, 20 Feb 2011 17:15:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Spocke</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-2121</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Sun, 12 Dec 2010 21:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-2121</guid>
		<description>The theme is made by Arcin. Check the footer and the bottom right corner.</description>
		<content:encoded><![CDATA[<p>The theme is made by Arcin. Check the footer and the bottom right corner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slabit</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-2120</link>
		<dc:creator>slabit</dc:creator>
		<pubDate>Sun, 12 Dec 2010 18:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-2120</guid>
		<description>I have been after the Internet for this info and just wanted to say thanks to you for this post. BTW, just off topic, where can i get a version of this theme? – 10x</description>
		<content:encoded><![CDATA[<p>I have been after the Internet for this info and just wanted to say thanks to you for this post. BTW, just off topic, where can i get a version of this theme? – 10x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sawan</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-1478</link>
		<dc:creator>sawan</dc:creator>
		<pubDate>Thu, 19 Feb 2009 07:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-1478</guid>
		<description>this code works good for problem mentioned above , but my problem is to stop unloading of document on the event onbeforeunload.</description>
		<content:encoded><![CDATA[<p>this code works good for problem mentioned above , but my problem is to stop unloading of document on the event onbeforeunload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spocke</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-52</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Tue, 06 May 2008 07:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-52</guid>
		<description>The fixUnload doesn&#039;t leak in the example since it&#039;s not used inside a closure. But the stop function is so it needs to be properly detached.

This code is more of a proof of concept than a real usable code piece normally you would contain it in a library and then you need to fix it up a bit.</description>
		<content:encoded><![CDATA[<p>The fixUnload doesn&#8217;t leak in the example since it&#8217;s not used inside a closure. But the stop function is so it needs to be properly detached.</p>
<p>This code is more of a proof of concept than a real usable code piece normally you would contain it in a library and then you need to fix it up a bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathew Robertson</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-51</link>
		<dc:creator>Mathew Robertson</dc:creator>
		<pubDate>Tue, 06 May 2008 06:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-51</guid>
		<description>A question for those smarter than me... :)

Wouldn&#039;t the &quot;onbeforeunload&quot; cause a leak (aka the JS/DOM style leak), since it is never detached?

ie: shouldn&#039;t the setTimout() also detach the &quot;fixUnload&quot;?</description>
		<content:encoded><![CDATA[<p>A question for those smarter than me&#8230; <img src='http://blog.moxiecode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Wouldn&#8217;t the &#8220;onbeforeunload&#8221; cause a leak (aka the JS/DOM style leak), since it is never detached?</p>
<p>ie: shouldn&#8217;t the setTimout() also detach the &#8220;fixUnload&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javascript News &#187; Blog Archive &#187; Are you sure your unload handler is firing in IE?</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-26</link>
		<dc:creator>Javascript News &#187; Blog Archive &#187; Are you sure your unload handler is firing in IE?</dc:creator>
		<pubDate>Thu, 17 Apr 2008 20:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-26</guid>
		<description>[...] Sörlin found that sometimes his unload event never fired in IE:  We recently found a serious bug in IE where the unload event wouldn’t fire on a specific page [...]</description>
		<content:encoded><![CDATA[<p>[...] Sörlin found that sometimes his unload event never fired in IE:  We recently found a serious bug in IE where the unload event wouldn’t fire on a specific page [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spocke</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-25</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Thu, 17 Apr 2008 17:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-25</guid>
		<description>This is a bug since the unload event should always fire if a document is unloaded. I don&#039;t see how this has anything to do with DOMReady you tend to want to add events before all contents is loaded on the page DOMReady is normally fired before the onload event and that is the problem.

You must remove the event handles on unload in IE if you use closures or it will leak and the only way to do that is to use the unload or beforeunload events.</description>
		<content:encoded><![CDATA[<p>This is a bug since the unload event should always fire if a document is unloaded. I don&#8217;t see how this has anything to do with DOMReady you tend to want to add events before all contents is loaded on the page DOMReady is normally fired before the onload event and that is the problem.</p>
<p>You must remove the event handles on unload in IE if you use closures or it will leak and the only way to do that is to use the unload or beforeunload events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-24</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 17 Apr 2008 17:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-24</guid>
		<description>I hardly see this one as a bug: since the onload event didn&#039;t trigger in your example, I can understand why the unload do not as well.
So, if you use the onload to attach and onunload to detach your events, you&#039;re not leaking.
But if you use a &quot;DOMReady&quot; technique, you&#039;re in trouble if you use the onunload. You should use some kind of &quot;DOMDisposed&quot; technique then.</description>
		<content:encoded><![CDATA[<p>I hardly see this one as a bug: since the onload event didn&#8217;t trigger in your example, I can understand why the unload do not as well.<br />
So, if you use the onload to attach and onunload to detach your events, you&#8217;re not leaking.<br />
But if you use a &#8220;DOMReady&#8221; technique, you&#8217;re in trouble if you use the onunload. You should use some kind of &#8220;DOMDisposed&#8221; technique then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajaxian &#187; Are you sure your unload handler is firing in IE?</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-23</link>
		<dc:creator>Ajaxian &#187; Are you sure your unload handler is firing in IE?</dc:creator>
		<pubDate>Thu, 17 Apr 2008 15:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-23</guid>
		<description>[...] Sörlin found that sometimes his unload event never fired in IE:  We recently found a serious bug in IE where the unload event wouldn’t fire on a specific page [...]</description>
		<content:encoded><![CDATA[<p>[...] Sörlin found that sometimes his unload event never fired in IE:  We recently found a serious bug in IE where the unload event wouldn’t fire on a specific page [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram.us &#187; TinyMCE 3.0.7 Released</title>
		<link>http://blog.moxiecode.com/2008/04/08/unload-event-never-fires-in-ie/comment-page-1/#comment-10</link>
		<dc:creator>Bram.us &#187; TinyMCE 3.0.7 Released</dc:creator>
		<pubDate>Mon, 14 Apr 2008 16:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.moxiecode.com/?p=8#comment-10</guid>
		<description>[...] table or add classes to it. This was also added to normalize the browser behavior. We also fixed a new type of memory leak in IE&#8221; - Announcement - Download - Changelog  Spread the [...]</description>
		<content:encoded><![CDATA[<p>[...] table or add classes to it. This was also added to normalize the browser behavior. We also fixed a new type of memory leak in IE&rdquo; &#8211; Announcement &#8211; Download &#8211; Changelog  Spread the [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

