Skip to content
Snippets Groups Projects
Commit 4fe314ea authored by Andreas Gohr's avatar Andreas Gohr
Browse files

https fix for window.onload

This should fix an issue with IE6 and https where the window.onload magic
would raise a security warning. See
http://dean.edwards.name/weblog/2006/06/again/#comment5776
http://dean.edwards.name/weblog/2006/06/again/#comment5788

needs testing

darcs-hash:20060903162438-7ad00-b29cd50387d1fef95bb688910b41e6b64cfeebca.gz
parent 831800b8
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ window.fireoninit = function() {
// for Internet Explorer (using conditional comments)
/*@cc_on @*/
/*@if (@_win32)
document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
document.write("<script id=__ie_onload defer src=javascript:false;><\/script>");
var script = document.getElementById("__ie_onload");
script.onreadystatechange = function() {
if (this.readyState == "complete") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment