Check navigator.oscpu for FF
If we don't check navigator.oscpu, IE 11 is detected as FF.bug/bundler_fix
parent
d358fe5f94
commit
151646156d
|
@ -196,8 +196,7 @@ window.os_detect.getVersion = function(){
|
||||||
if (!ua_version || 0 == ua_version.length) {
|
if (!ua_version || 0 == ua_version.length) {
|
||||||
ua_is_lying = true;
|
ua_is_lying = true;
|
||||||
}
|
}
|
||||||
} else if (!document.all && navigator.taintEnabled ||
|
} else if (navigator.oscpu && !document.all && navigator.taintEnabled || 'MozBlobBuilder' in window) {
|
||||||
'MozBlobBuilder' in window) {
|
|
||||||
// Use taintEnabled to identify FF since other recent browsers
|
// Use taintEnabled to identify FF since other recent browsers
|
||||||
// implement window.getComputedStyle now. For some reason, checking for
|
// implement window.getComputedStyle now. For some reason, checking for
|
||||||
// taintEnabled seems to cause IE 6 to stop parsing, so make sure this
|
// taintEnabled seems to cause IE 6 to stop parsing, so make sure this
|
||||||
|
|
Loading…
Reference in New Issue