Template:Team:KIT-Kyoto/browser
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
var kit_ua = (function(){ | var kit_ua = (function(){ | ||
return { | return { | ||
- | ltIE6:typeof window.addEventListener == "undefined" && typeof document.documentElement.style.maxHeight == "undefined", | + | ltIE6:typeof window.addEventListener == "undefined" && typeof document.documentElement.style.maxHeight == "undefined"}, |
ltIE7:typeof window.addEventListener == "undefined" && typeof document.querySelectorAll == "undefined", | ltIE7:typeof window.addEventListener == "undefined" && typeof document.querySelectorAll == "undefined", | ||
ltIE8:typeof window.addEventListener == "undefined" && typeof document.getElementsByClassName == "undefined", | ltIE8:typeof window.addEventListener == "undefined" && typeof document.getElementsByClassName == "undefined", | ||
Line 17: | Line 17: | ||
ltAd4_4:typeof window.orientation != "undefined" && typeof(EventSource) == "undefined", | ltAd4_4:typeof window.orientation != "undefined" && typeof(EventSource) == "undefined", | ||
Pointer:window.navigator.pointerEnabled,MSPoniter:window.navigator.msPointerEnabled | Pointer:window.navigator.pointerEnabled,MSPoniter:window.navigator.msPointerEnabled | ||
- | + | } | |
})(); | })(); | ||
if(kit_ua.ltIE6 || _ua.ltIE7 || _ua.ltIE8 || (_ua.Trident && !_ua.ltIE8) || (_ua.Trident && !_ua.ltIE9 ) || _ua.gtIE10 || (_ua.Blink && !_ua.Mobile) || (_ua.Blink && _ua.Mobile) || _ua.ltAd4_4 || (_ua.Webkit && !_ua.Mobile) || (_ua.Webkit && _ua.Mobile) || _ua.ltAd4_4 || (_ua.Gecko && !_ua.Mobile) || (_ua.Gecko && _ua.Mobile) || (_ua.Presto){ | if(kit_ua.ltIE6 || _ua.ltIE7 || _ua.ltIE8 || (_ua.Trident && !_ua.ltIE8) || (_ua.Trident && !_ua.ltIE9 ) || _ua.gtIE10 || (_ua.Blink && !_ua.Mobile) || (_ua.Blink && _ua.Mobile) || _ua.ltAd4_4 || (_ua.Webkit && !_ua.Mobile) || (_ua.Webkit && _ua.Mobile) || _ua.ltAd4_4 || (_ua.Gecko && !_ua.Mobile) || (_ua.Gecko && _ua.Mobile) || (_ua.Presto){ |
Revision as of 06:06, 11 September 2014