Open GoogleCodeExporter opened 9 years ago
I had to change a bit of your code to get it to work with IE7 (it worked fine
in IE 8).
else if (navigator.appName == 'Microsoft Internet Explorer'){
for
else if (typeof document.all !== "undefined") {
Original comment by ama...@gmail.com
on 25 May 2010 at 9:47
It still fails on page running quirks mode (without DOCTYPE declaration). I've
replace it with code I borrow from ajaxhistory.com.
IE browser-detection code:
else if (typeof document.all !== "undefined") {
var iev = 0;
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
iev = new Number(RegExp.$1);
}
if(iev >= 8 && document.compatMode == 'BackCompat' || iev < 8) {
this.isIE = true;
this.isSupported = true;
} else {
this.isGecko = true;
this.isSupported = true;
}
}
Original comment by rudysusa...@gmail.com
on 19 Jan 2011 at 6:01
Original issue reported on code.google.com by
jonatan....@gmail.com
on 19 May 2010 at 12:46Attachments: