请问如何用Javascript检测Flash插件是否安装?

请问如何用Javascript检测Flash插件是否安装?
烂系统,说什么内部错误。害我重发一次
---------------------------------------------------------------

http://www.blueidea.com/bbs/newsdetail.asp?id=234550
http://www.blueidea.com/user/blueidea/plugintest/flashcontent.htm
---------------------------------------------------------------

1<body>
2<script language="JavaScript">   
3<!--   
4var swf = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');   
5(swf) ? document.writeln('你已经安装了插件') : document.writeln('你没有安装插件');   
6// -->   
7</script>
8</body>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus