浙林龙哥

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
<SCRIPT LANGUAGE="Javascript">
<!--
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
  x = navigator.plugins["Shockwave Flash"];
  if (x)
  {
    flashinstalled = 2;
    if (x.description)
    {
      y = x.description;
      flashversion = y.charAt(y.indexOf('.')-1);
    }
  }
  else
    flashinstalled = 1;
  if (navigator.plugins["Shockwave Flash 2.0"])
  {
    flashinstalled = 2;
    flashversion = 2;
  }
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
  x = navigator.mimeTypes['application/x-shockwave-flash'];
  if (x && x.enabledPlugin)
    flashinstalled = 2;
  else
    flashinstalled = 1;
}
else
  MSDetect = "true";
// -->
</SCRIPT>
posted on 2007-07-03 13:51  浙林龙哥  阅读(786)  评论(0编辑  收藏  举报