<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: "do you want to display non-secure items?" . . . IE security popup</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: "do you want to display non-secure items?" . . . IE security popup</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 16:09:23 +0000</pubDate>

<item>
<title>Otto42 on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1123078</link>
<pubDate>Wed, 01 Jul 2009 21:57:00 +0000</pubDate>
<dc:creator>Otto42</dc:creator>
<guid isPermaLink="false">1123078@http://wordpress.org/support/</guid>
<description>&#60;p&#62;That is a sorta commonplace bit of code to make something run after the DOM has loaded but before all the images have loaded on multiple types of browsers. In this case, it's doing loadMenus(); after the DOM loads.&#60;/p&#62;
&#60;p&#62;More info on this technique, including an alternative approach, can be found here: &#60;a href=&#34;http://www.kryogenix.org/days/2007/09/26/shortloaded&#34; rel=&#34;nofollow&#34;&#62;http://www.kryogenix.org/days/2007/09/26/shortloaded&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You tend not to see this sort of thing very much anymore, since more people are using libraries like jquery, which all have this sort of thing built in already.
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1123042</link>
<pubDate>Wed, 01 Jul 2009 21:23:29 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1123042@http://wordpress.org/support/</guid>
<description>&#60;p&#62;The theme idea helped me to narrow it down significantly.&#60;/p&#62;
&#60;p&#62;(on my test site): I chopped out blocks of php code from template pages, until I found the two lines in template/start.php:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;	&#38;lt;!-- script START --&#38;gt;&#60;br /&#62;
	&#38;lt;script type=&#34;text/javascript&#34; src=&#34;&#38;lt;?php bloginfo('template_url'); ?&#38;gt;/js/base.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
	&#38;lt;script type=&#34;text/javascript&#34; src=&#34;&#38;lt;?php bloginfo('template_url'); ?&#38;gt;/js/menu.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
	&#38;lt;!-- script END --&#38;gt;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Functionality was broken, when I removed these lines, but I stopped getting the security popup.&#60;/p&#62;
&#60;p&#62;I replaced those lines, then I dug into these two .js files.  I had already suspected the menu.js file, based on the removeChild() call, from the Microsoft KB Article. &#60;/p&#62;
&#60;p&#62;What I found, at the bottom of the file, was this decision:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;if (document.addEventListener) {&#60;br /&#62;
	document.addEventListener(&#34;DOMContentLoaded&#34;, loadMenus, false);&#60;/p&#62;
&#60;p&#62;} else if (/MSIE/i.test(navigator.userAgent)) {&#60;br /&#62;
	document.write('&#38;lt;script id=&#34;__ie_onload_for_generic23&#34; defer src=&#34;javascript:void(0)&#34;&#38;gt;&#38;lt;/script&#38;gt;');&#60;br /&#62;
	var script = document.getElementById('__ie_onload_for_generic23');&#60;br /&#62;
	script.onreadystatechange = function() {&#60;br /&#62;
		if (this.readyState == 'complete') {&#60;br /&#62;
			loadMenus();&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;} else if (/WebKit/i.test(navigator.userAgent)) {&#60;br /&#62;
	var _timer = setInterval( function() {&#60;br /&#62;
		if (/loaded&#124;complete/.test(document.readyState)) {&#60;br /&#62;
			clearInterval(_timer);&#60;br /&#62;
			loadMenus();&#60;br /&#62;
		}&#60;br /&#62;
	}, 10);&#60;/p&#62;
&#60;p&#62;} else {&#60;br /&#62;
	window.onload = function(e) {&#60;br /&#62;
		loadMenus();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;When I removed the test for the MSIE user agent, that whole &#34;else if&#34; block, everything seemed to work fine, and there was no IE security popup.  Can anyone explain what this code is doing?
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122996</link>
<pubDate>Wed, 01 Jul 2009 20:47:10 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122996@http://wordpress.org/support/</guid>
<description>&#60;p&#62;The idea to shut off my themes was a good one.&#60;/p&#62;
&#60;p&#62;If I use either my custom theme, or Generic Plus (on which my custom theme was based), I have the problem.  If I go back to the generic WP theme, the problem seems to go away.&#60;/p&#62;
&#60;p&#62;Unfortunately, the site is now live, so I can only play around with our backup site like this.  I need to isolate what is exactly doing this and change only that, because the live site is developed dependent on this custom theme.
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122982</link>
<pubDate>Wed, 01 Jul 2009 20:35:01 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122982@http://wordpress.org/support/</guid>
<description>&#60;p&#62;&#60;a href=&#34;https://edtechfuture.org&#34; rel=&#34;nofollow&#34;&#62;https://edtechfuture.org&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;When I use tools like PageInfo in Firefox, or Safari's Activity window, they list every element of the page, and they're all coming from https.
&#60;/p&#62;</description>
</item>
<item>
<title>Otto42 on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122961</link>
<pubDate>Wed, 01 Jul 2009 20:24:03 +0000</pubDate>
<dc:creator>Otto42</dc:creator>
<guid isPermaLink="false">1122961@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Yeah, that standard stuff doesn't matter any.&#60;/p&#62;
&#60;p&#62;Well, I'm stumped. Without a link to the site, I don't think anybody can help you any more here.
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122956</link>
<pubDate>Wed, 01 Jul 2009 20:20:15 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122956@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I don't see any http references when I do a view-&#38;gt;source. Other than the standard stuff in the headers:&#60;/p&#62;
&#60;p&#62;&#38;lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.1//EN&#34; &#34;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#38;gt;&#60;br /&#62;
&#38;lt;head profile=&#34;http://gmpg.org/xfn/11&#34;&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>Otto42 on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122866</link>
<pubDate>Wed, 01 Jul 2009 19:15:57 +0000</pubDate>
<dc:creator>Otto42</dc:creator>
<guid isPermaLink="false">1122866@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Note that a redirect isn't good enough. If you have &#60;em&#62;any&#60;/em&#62; reference to an http instead of an https, then even if the http redirects to the https, then the site is not &#34;secure&#34;.&#60;/p&#62;
&#60;p&#62;To be secure, there must not be any http calls whatsoever. Make sure of this and don't rely on redirections.
&#60;/p&#62;</description>
</item>
<item>
<title>iridiax on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122859</link>
<pubDate>Wed, 01 Jul 2009 19:07:58 +0000</pubDate>
<dc:creator>iridiax</dc:creator>
<guid isPermaLink="false">1122859@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Have you tried temporarily disabling all plugins or switching to the default theme to see if it is plugin or theme-related?
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122854</link>
<pubDate>Wed, 01 Jul 2009 19:00:39 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122854@http://wordpress.org/support/</guid>
<description>&#60;p&#62;My theme is a slightly modified version of Generic Plus; fwiw.&#60;/p&#62;
&#60;p&#62;Following the microsoft kb article, above, there's a section of javascript in my mytheme/js/menu.js file:&#60;/p&#62;
&#60;p&#62;cleanWhitespace = function(list) {&#60;br /&#62;
	var node = list.firstChild;&#60;br /&#62;
	while (node) {&#60;br /&#62;
		var nextNode = node.nextSibling;&#60;br /&#62;
		if(node.nodeType == 3 &#38;amp;&#38;amp; !/\S/.test(node.nodeValue)) {&#60;br /&#62;
			list.removeChild(node);&#60;br /&#62;
		}&#60;br /&#62;
		node = nextNode;&#60;br /&#62;
	}&#60;br /&#62;
	return list;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;I think it's responsible for clearing the popup menu graphics, when the user mouseovers the menu bar.  I tried just remarking-out the &#34;list.removeChild(node);&#34; line, knowing that it would break some other functionality - and sure enough, the menubar mouseovers stopped working.  And I was still getting the security popup in IE.  So I know that this is not the cause of the issue either.&#60;/p&#62;
&#60;p&#62;(put the code back safe-and-sound, and the feature's working again).
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122849</link>
<pubDate>Wed, 01 Jul 2009 18:55:05 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122849@http://wordpress.org/support/</guid>
<description>&#60;p&#62;All of my IE users are complaining about this.&#60;br /&#62;
All of our images are either in /wp-admin/images, or wp-content/themes/mytheme/img.  It's really a very non-graphics-intensive site.  &#60;/p&#62;
&#60;p&#62;I'm doing &#34;view source&#34; on every page, and there's no content coming from any other site.&#60;/p&#62;
&#60;p&#62;I tried changing my style.css from:&#60;/p&#62;
&#60;p&#62;body {&#60;br /&#62;
	background:#767877 url(img/bg.jpg) repeat-x;&#60;br /&#62;
	color:#555;&#60;br /&#62;
	font-family:Verdana,&#34;BitStream vera Sans&#34;,Helvetica,Sans-serif;&#60;br /&#62;
	font-size:12px;&#60;/p&#62;
&#60;p&#62;to:&#60;/p&#62;
&#60;p&#62;body {&#60;br /&#62;
	background:#767877 url(https://mysite.com/wp-content/themes/mytheme/img/bg.jpg) repeat-x;&#60;br /&#62;
	color:#555;&#60;br /&#62;
	font-family:Verdana,&#34;BitStream vera Sans&#34;,Helvetica,Sans-serif;&#60;br /&#62;
	font-size:12px; &#60;/p&#62;
&#60;p&#62;No luck.
&#60;/p&#62;</description>
</item>
<item>
<title>iridiax on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122837</link>
<pubDate>Wed, 01 Jul 2009 18:47:13 +0000</pubDate>
<dc:creator>iridiax</dc:creator>
<guid isPermaLink="false">1122837@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I once got cookie security advisories with IE 7 because I had background images for my theme located outside of my WordPress folder. I assume it was some sort of bug.
&#60;/p&#62;</description>
</item>
<item>
<title>NDP on ""do you want to display non-secure items?" . . . IE security popup"</title>
<link>http://wordpress.org/support/topic/285691#post-1122799</link>
<pubDate>Wed, 01 Jul 2009 18:15:13 +0000</pubDate>
<dc:creator>NDP</dc:creator>
<guid isPermaLink="false">1122799@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi;&#60;br /&#62;
I am managing a site that is delivered via https, and it displays fine in every other browser in the universe except (wait for it. . . ) IE.&#60;/p&#62;
&#60;p&#62;In IE, users are getting security popups asking &#34;do you want to display non-secure items?&#34;&#60;/p&#62;
&#60;p&#62;We can tell our users to ditch IE.&#60;br /&#62;
We can tell our users to change their security settings; Miscellaneous-&#38;gt;Display mixed content: Enable.&#60;/p&#62;
&#60;p&#62;But neither of these make it easy for our users to view the site. This warning pops up on every fricking page.&#60;/p&#62;
&#60;p&#62;I've googled this, and I don't see any real clear resolution of this problem. Just a couple of &#34;hey try this&#34; suggestions:&#60;/p&#62;
&#60;p&#62;1. Site elements are being delivered unsecured: I don't think so, not sure how to verify this, but all http requests are redirected to https.&#60;/p&#62;
&#60;p&#62;2. Set your iframe's src to a dummy value: we're not using iframes. Anywhere. As far as I know.&#60;/p&#62;
&#60;p&#62;3. Microsoft even says this can happen if: (&#60;a href=&#34;http://support.microsoft.com/kb/925014&#34; rel=&#34;nofollow&#34;&#62;http://support.microsoft.com/kb/925014&#60;/a&#62;) you're using the removeChild() method to delete a DIV element that references a background image - you should either use the outerHTML method to delete that DIV element, or put the background image into your CSS. In either case: WTF? more detail please! Where? How?&#60;/p&#62;
&#60;p&#62;I'm sure the &#34;removeChild&#34; method appears in several spots in both my template, and the wp-includes/js collection of javascript files (which means, these come with WP, and everyone should be seeing this problem?).&#60;/p&#62;
&#60;p&#62;Anyone have any constructive advice for getting rid of this annoying usability problem? (other than telling my users to ditch IE; if my customer would let me, I'd put a &#34;download firefox and stop complaining&#34; link in the footer of every page.  I'm sure I'm not the first web developer to wrestle with this)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
