JavaScript – 判斷瀏覽器是否支援 Flash 2015-03-20 / JSN / 0 Comments / 225 次瀏覽 function isFlashSupported() { if(window.ActiveXObject) { try { if(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) return true; } catch(e) { } } return navigator.plugins['Shockwave Flash'] ? true : false; } 參考來源 分享,才能讓我知道對你有幫助:Tweet 相關文章