Adobeはflash playerバージョンチェックをどうやってるか
flash playerのバージョンチェックはどうやるのかメモ。
Adobeのやりかた
Adobe Flash Playerのバージョンチェックページ
http://www.adobe.com/products/flash/about/
の
http://www.adobe.com/swf/software/flash/about/flashAbout_info_small.swf
はてなダイアリーのやりかた
//IEの場合 javascript:alert(Math.floor(new ActiveXObject('ShockwaveFlash.ShockwaveFlash').FlashVersion()/0x10000)) //-> 10 //firefoxの場合 javascript:alert(navigator.plugins["Shockwave Flash"].description.charAt(16)); //-> 1 ///(^o^)\ナンテコッタイ