Skip to content

Commit

Permalink
Fix IE 6 HTTPS warning
Browse files Browse the repository at this point in the history
Set IE iframe src to javascript:false so IE doesn't show a mixed content
warning
  • Loading branch information
Daniel15 committed Sep 12, 2012
1 parent e84ad00 commit 3068409
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/jquery.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/mootools.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/native.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/right.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/zepto.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/compressed/history.html4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions scripts/uncompressed/history.html4.js
Expand Up @@ -275,7 +275,10 @@
iframe = document.createElement('iframe'); iframe = document.createElement('iframe');


// Adjust iFarme // Adjust iFarme
// IE 6 requires iframe to have a src on HTTPS pages, otherwise it will throw a
// "This page contains both secure and nonsecure items" warning.
iframe.setAttribute('id', iframeId); iframe.setAttribute('id', iframeId);
iframe.setAttribute('src', 'javascript:false');
iframe.style.display = 'none'; iframe.style.display = 'none';


// Append iFrame // Append iFrame
Expand Down

0 comments on commit 3068409

Please sign in to comment.