--- jquery.history.js.orig 2009-10-08 15:46:51.000000000 +0900 +++ jquery.history.js 2009-10-08 15:46:51.000000000 +0900 @@ -16,6 +16,7 @@ historyCurrentHash: undefined, historyCallback: undefined, historyIframeSrc: undefined, + historyNeedIframe: jQuery.browser.msie && (jQuery.browser.version < 8 || document.documentMode < 8), historyInit: function(callback, src){ jQuery.historyCallback = callback; @@ -23,12 +24,12 @@ var current_hash = location.hash.replace(/\?.*$/, ''); jQuery.historyCurrentHash = current_hash; - // if ((jQuery.browser.msie) && (jQuery.browser.version < 8)) { - if (jQuery.browser.msie) { + + if (jQuery.historyNeedIframe) { // To stop the callback firing twice during initilization if no hash present if (jQuery.historyCurrentHash == '') { jQuery.historyCurrentHash = '#'; - } + } // add hidden iframe for IE jQuery("body").prepend('