zoukankan      html  css  js  c++  java
  • 浏览器插件检查

    IE浏览器

    <object ID="BrowserTerminal" 
    CLASSID="CLSID:71D2FC55-6C66-4A23-A546-B3F9244EC3C5" ></object>
    <script>
     try{
       var ax = new ActiveXObject("activexqtterminal.BrowserTerminal.1");
    //activexqtterminal.BrowserTerminal.1根据clsid在注册表中查询
                    alert("已经安装");
                } catch (e){
                    alert("未安装");
                }
    </script>
    

    标准浏览器

    <embed type="npqtterminal/very" id="browt" >
    <script>
     If(navigator.mimeTypes["npqtterminal/very"]){
    alert(“安装”)
    }
    </script>
    
  • 相关阅读:
    17.10.13
    17.10.12
    17.10.11
    17.10.10
    17.10.05
    17.10.04
    17.10.03
    17.10.02
    17.10.01
    17.9.29
  • 原文地址:https://www.cnblogs.com/janas-luo/p/9606052.html
Copyright © 2011-2022 走看看