记录:

(function(){
ver has=0, ver=0;
try{
has=new ActiveXObject('ShockwaveFlash.ShockwaveFlash');

if(has) {

ver = +(has.GetVariable("$version").match(/\d+/));

}
}
catch(e){
has=navigator.plugins["Shockwave Flash"];
if(has) {

ver = +(has.description.match(/\d+/));

}

}

console.log(ver);//0即无插件

})()

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-02-05
  • 2021-09-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-06
  • 2021-10-22
  • 2021-09-16
  • 2021-11-08
  • 2022-01-31
  • 2021-12-13
相关资源
相似解决方案