X-Git-Url: https://scm.cri.ensmp.fr/git/Epoz.git/blobdiff_plain/b437454da49f169e76631511ebad10746dafdf8b..d98b9e443ac99758402e0685c67f25d9de28e8b1:/epoz/epoz_core/epoz_script_detect.js.dtml diff --git a/epoz/epoz_core/epoz_script_detect.js.dtml b/epoz/epoz_core/epoz_script_detect.js.dtml index 85071e9..f396f51 100755 --- a/epoz/epoz_core/epoz_script_detect.js.dtml +++ b/epoz/epoz_core/epoz_script_detect.js.dtml @@ -21,6 +21,7 @@ function BrowserDetect() { this.isIE = (ua.indexOf('msie') != -1 && !this.isOpera && (ua.indexOf('webtv') == -1) ); this.isMozilla = (this.isGecko && ua.indexOf('gecko/') + 14 == ua.length); this.isFirebird = (ua.indexOf('firebird/') != -1); + this.isFirefox = (ua.indexOf('firefox/') != -1); this.isNS = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && !this.isOpera && !this.isSafari && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) ); // spoofing and compatible browsers @@ -94,6 +95,7 @@ function BrowserDetect() { this.isIE5up = (this.isIE && this.versionMajor >= 5); this.isIE6x = (this.isIE && this.versionMajor == 6); this.isIE6up = (this.isIE && this.versionMajor >= 6); + this.isIE8max = (this.isIE && this.versionMajor <= 8); this.isIE4xMac = (this.isIE4x && this.isMac); }