How can I detect if Flash Player is disabled in a browser using JavaScript?

后端 未结 4 1728
我寻月下人不归
我寻月下人不归 2021-01-06 14:53

I know how to detect if Flash player is installed in a browser. I\'m using the hasFlashPlayerVersion() function of swfobject for that. However, I can\'t seem to fin

4条回答
  •  悲&欢浪女
    2021-01-06 15:38

    You could make a javascript call in an invisible swf that communicates with the browser's javascript. If a timeout occurs, then it is because the browser does not have flash player installed, or the flash player has been disabled.

    getURL("javascript:jsfunction();");
    

提交回复
热议问题