<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using window.onload over HTTPS</title>
	<atom:link href="http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/</link>
	<description></description>
	<lastBuildDate>Thu, 11 Mar 2010 15:40:45 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: The window.onload Problem Revisited &#171; Out of Hanwell</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-270</link>
		<dc:creator>The window.onload Problem Revisited &#171; Out of Hanwell</dc:creator>
		<pubDate>Thu, 20 Sep 2007 22:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-270</guid>
		<description>[...] Update: Applying fixes for HTTPS. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: Applying fixes for HTTPS. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Perini [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-226</link>
		<dc:creator>Diego Perini [Visitor]</dc:creator>
		<pubDate>Sun, 30 Jul 2006 03:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-226</guid>
		<description>From what they have in their docs: &lt;q&gt;The onactivate event fires before the onload event for any of the objects listed in the Applies To section.&lt;/q&gt;

The difference with IE4 is that while loading, the &lt;code&gt;document.activeElement&lt;/code&gt; is set to be the BODY object instead of NULL like in IE 5 and later.

However we will still have an &quot;onbeforeactivate&quot; if that still don&#039;t work in IE 4...

Everything is bound to the FOCUS mechanism and I really tested that also the &quot;onfocus&quot; events are fired during the loading process on the window, on the document and on the body objects.


</description>
		<content:encoded><![CDATA[<p>From what they have in their docs: <q>The onactivate event fires before the onload event for any of the objects listed in the Applies To section.</q></p>
<p>The difference with IE4 is that while loading, the <code>document.activeElement</code> is set to be the BODY object instead of NULL like in IE 5 and later.</p>
<p>However we will still have an &#8220;onbeforeactivate&#8221; if that still don&#8217;t work in IE 4&#8230;</p>
<p>Everything is bound to the FOCUS mechanism and I really tested that also the &#8220;onfocus&#8221; events are fired during the loading process on the window, on the document and on the body objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias Miller [Member]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-225</link>
		<dc:creator>Matthias Miller [Member]</dc:creator>
		<pubDate>Sat, 29 Jul 2006 19:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-225</guid>
		<description>Based on the MSDN documentation, I really like what I see. I&#039;m eager to run a number of tests on it next week.

Are you concerned about behavior in IE4? When does onactivate get fired for that version?
</description>
		<content:encoded><![CDATA[<p>Based on the MSDN documentation, I really like what I see. I&#8217;m eager to run a number of tests on it next week.</p>
<p>Are you concerned about behavior in IE4? When does onactivate get fired for that version?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Perini [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-224</link>
		<dc:creator>Diego Perini [Visitor]</dc:creator>
		<pubDate>Sat, 29 Jul 2006 17:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-224</guid>
		<description>Try to replace the bit of code for IE with this in a setTimeout loop:

&lt;code&gt;   if (document.activeElement) { fire_event(); }&lt;/code&gt;

Or by using the related event:

&lt;code&gt;   document.attachEvent(&#039;onactivate&#039;, fire_event);&lt;/code&gt;

It worked like a charm for me and also fixes the Back Button problem.
Please if you have a test case that does not work submit it.

I can&#039;t believe it something so easy existed, but I tested and it works...

Waiting for your confirmation tests...

</description>
		<content:encoded><![CDATA[<p>Try to replace the bit of code for IE with this in a setTimeout loop:</p>
<p><code>   if (document.activeElement) { fire_event(); }</code></p>
<p>Or by using the related event:</p>
<p><code>   document.attachEvent('onactivate', fire_event);</code></p>
<p>It worked like a charm for me and also fixes the Back Button problem.<br />
Please if you have a test case that does not work submit it.</p>
<p>I can&#8217;t believe it something so easy existed, but I tested and it works&#8230;</p>
<p>Waiting for your confirmation tests&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias Miller [Member]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-223</link>
		<dc:creator>Matthias Miller [Member]</dc:creator>
		<pubDate>Tue, 18 Jul 2006 04:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-223</guid>
		<description>Pretty much agreed--I&#039;m certainly glad for your testing here. The problem with Firefox attempt to resolve is that it the throbber keeps going until it times out, so the script needs to be written out for IE only.

And meanwhile, I&#039;m stubbornly holding out until the IE7 RC to see how they&#039;ve fixed the URL resolution bug. :-)
</description>
		<content:encoded><![CDATA[<p>Pretty much agreed&#8211;I&#8217;m certainly glad for your testing here. The problem with Firefox attempt to resolve is that it the throbber keeps going until it times out, so the script needs to be written out for IE only.</p>
<p>And meanwhile, I&#8217;m stubbornly holding out until the IE7 RC to see how they&#8217;ve fixed the URL resolution bug. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Point [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-222</link>
		<dc:creator>Alistair Point [Visitor]</dc:creator>
		<pubDate>Mon, 17 Jul 2006 14:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-222</guid>
		<description>Regarding your obvservation that Firefox tries to resolve src=//: - I&#039;m sure you&#039;re right, but this code is only for IE anyway! Which means, by an infinitessimally pedantic margin, I think my solution wins for not returning anything at all.

(not that any of this would have been possible without all your work anyway)

Anyway... :)
</description>
		<content:encoded><![CDATA[<p>Regarding your obvservation that Firefox tries to resolve src=//: &#8211; I&#8217;m sure you&#8217;re right, but this code is only for IE anyway! Which means, by an infinitessimally pedantic margin, I think my solution wins for not returning anything at all.</p>
<p>(not that any of this would have been possible without all your work anyway)</p>
<p>Anyway&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Potts [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-221</link>
		<dc:creator>Alistair Potts [Visitor]</dc:creator>
		<pubDate>Thu, 06 Jul 2006 14:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-221</guid>
		<description>Well done, and for spotting that src=0 generates a request we don&#039;t want.

You can save yourself a few bytes by doing src=//0.

I have updated my test page: https://www.partyark.co.uk/html/ie7b3success.asp

A
</description>
		<content:encoded><![CDATA[<p>Well done, and for spotting that src=0 generates a request we don&#8217;t want.</p>
<p>You can save yourself a few bytes by doing src=//0.</p>
<p>I have updated my test page: <a href="https://www.partyark.co.uk/html/ie7b3success.asp" rel="nofollow">https://www.partyark.co.uk/html/ie7b3success.asp</a></p>
<p>A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias Miller [Member]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-220</link>
		<dc:creator>Matthias Miller [Member]</dc:creator>
		<pubDate>Mon, 03 Jul 2006 09:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-220</guid>
		<description>I don&#039;t think you even need to toggle between http: and https:. You can just always use https:.
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think you even need to toggle between http: and https:. You can just always use https:.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Cherny [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-219</link>
		<dc:creator>Rob Cherny [Visitor]</dc:creator>
		<pubDate>Mon, 03 Jul 2006 08:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-219</guid>
		<description>Hmmm ... Looking at your latest of course, I guess the location.protocol test could toggle between http: and https: based on the test, and not have to rely on the external file again?

Yeah. If I get some time I&#039;ll test that...


</description>
		<content:encoded><![CDATA[<p>Hmmm &#8230; Looking at your latest of course, I guess the location.protocol test could toggle between http: and https: based on the test, and not have to rely on the external file again?</p>
<p>Yeah. If I get some time I&#8217;ll test that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Cherny [Visitor]</title>
		<link>http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-218</link>
		<dc:creator>Rob Cherny [Visitor]</dc:creator>
		<pubDate>Mon, 03 Jul 2006 08:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/06/27/using-windowonload-over-https/#comment-218</guid>
		<description>Guys, I&#039;ve updated my &lt;a href=&quot;http://www.cherny.com/webdev/26/domloaded-object-literal-updated&quot; rel=&quot;nofollow&quot;&gt;Object Literal version&lt;/a&gt; to address the following:

allows multiple calls
also (sorta) resolves the IE/HTTPS issue

Let me know what you think.
</description>
		<content:encoded><![CDATA[<p>Guys, I&#8217;ve updated my <a href="http://www.cherny.com/webdev/26/domloaded-object-literal-updated" rel="nofollow">Object Literal version</a> to address the following:</p>
<p>allows multiple calls<br />
also (sorta) resolves the IE/HTTPS issue</p>
<p>Let me know what you think.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
