Der Code befindet sich unter src/core/ext.js in ext
Der Code des neuesten ext3.0beat1 lautet wie folgt:
Kopieren Sie den Code -Code wie folgt:
ua = navigator.useragent.tolowerCase (),
check = function (r) {
Return r.test (ua);
},
Isstrict = document.compatmode == "CSS1COMPAT",
isopera = prüfen (/Opera/),
ISCHROME = prüfen (/Chrom/),
Iswebkit = check (/webkit/),
ISSAFARI =!
IssAfari3 = issafari && check (/Version // 3/),
IssAfari4 = issafari && check (/Version // 4/),
Isie =!
Isie7 = isie && check (/msie 7/),
Isie8 = isie && check (/msie 8/),
Isgecko =!
ISGECKO3 = ISGECKO && check (/rv:1/.9/),
IsBorderbox = isie &&!
IsWindows = check (/Windows | Win32/),
ISMAC = Check (/Macintosh | Mac OS X/),
Isch = prüfen (/adobeAir/),
ISLINUX = prüfen (/linux/),
ISSECURE = /^HTTPS/i.test (window.location.Protocol);
Und 2.2.1 (in Quelle/Core/ext.js)
Kopieren Sie den Code -Code wie folgt:
var ua = navigator.useragent.tolowerCase ();
var isstrict = document.compatmode == "CSS1Compat",
Isopra = ua.indexof ("Opera")> -1,
ISCHROME = UA.INDEXOF ("Chrom")> -1,,
ISSAFARI =!
IssAfari3 = Issafari && ua.indexof ('webkit/5')!
Isie =!
Isie7 =!
Isie8 =!
ISGECKO =!
ISGECKO3 = ISGECKO && ua.indexof ("RV: 1,9")> -1,,
IsBorderbox = isie &&!
IsWindows = (ua.indexof ("Windows")! = -1 || ua.indexof ("Win32")! = -1),
ismac = (ua.indexof ("macintosh")! = -1 || ua.indexof ("mac os x")! = -1),
Isch = (ua.indexof ("adobeAir")! = -1),
ISLINUX = (ua.indexof ("Linux")! = -1),
ISSECURE = windel.location.href.tolowerCase ().