Record:
(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 means no plug-in
})()