PDA

View Full Version : SSL and YAHOO.ext.EventManager.ieDeferSrc



paultyng
1 Nov 2006, 8:06 AM
In the following line of code:

document.write('<s'+'cript id="ie-deferred-loader" defer="defer" src="'+YAHOO.ext.EventManager.ieDeferSrc+'"></s'+'cript>');
I get the popup about secure and non-secure items when viewing a site in SSL. The src ends up being 'javascript:false' and IE seems to interpret this as a non-secure URL. When I removed that line the prompt didn't show again. So i'm not entirely sure what the proper solution is, just wanted to post this info.

jack.slocum
1 Nov 2006, 9:28 PM
That's why that variable exists. :) If you are using it over SSL you will need to set that to a blank file on the secure URL to avoid the SSL warning.

paultyng
2 Nov 2006, 4:59 AM
Ah, ok, thanks.