【文章內(nèi)容簡介】
a = function() { var w3cdom = typeof != UNDEF amp。amp。 typeof != UNDEF amp。amp。 typeof != UNDEF, u = (), p = (), windows = p ? /win/.test(p) : /win/.test(u), mac = p ? /mac/.test(p) : /mac/.test(u), webkit = /webkit/.test(u) ? parseFloat((/^.*webkit\/(\d+(\.\d+)?).*$/, $1)) : false, // returns either the webkit version or false if not webkit ie = !+\v1, // feature detection based on Andrea Giammarchi39。s solution: playerVersion = [0,0,0], d = null。 if (typeof != UNDEF amp。amp。 typeof [SHOCKWAVE_FLASH] == OBJECT) { d = [SHOCKWAVE_FLASH].description。 if (d amp。amp。 !(typeof != UNDEF amp。amp。 [FLASH_MIME_TYPE] amp。amp。 ![FLASH_MIME_TYPE].enabledPlugin)) { // [application/xshockwaveflash].enabledPlugin indicates whether plugins are enabled or disabled in Safari 3+ plugin = true。 ie = false。 // cascaded feature detection for Internet Explorer d = (/^.*\s+(\S+\s+\S+$)/, $1)。 playerVersion[0] = parseInt((/^(.*)\..*$/, $1), 10)。 playerVersion[1] = parseInt((/^.*\.(.*)\s.*$/, $1), 10)。