Home > Web Front-end > JS Tutorial > js implements web page detection whether the Flash Player plug-in is installed_javascript skills

js implements web page detection whether the Flash Player plug-in is installed_javascript skills

WBOY
Release: 2016-05-16 19:10:39
Original
1026 people have browsed it

For other plug-ins, just change the sID


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]<script> function testPlugin(){ sID="{D27CDB6E-AE6D-11cf-96B8-444553540000}" with(info){ addBehavior('#default#clientcaps') info.innerText=isComponentInstalled(sID,"componentid")?'Flash插件已安装,版本:'+getComponentVersion(sID,"componentid"):"未安装插件" } } window.attachEvent("onload",testPlugin) </script>
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template