Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 331 Bytes

activex_object.md

File metadata and controls

12 lines (10 loc) · 331 Bytes

ActiveX Object

  • 判断ActiveX object是否存在
    • typeof

        if(typeof(window.ActiveXObject)=="undefined"){
            alert("ActiveX Object not supported");
        }else {
            alert("ActiveX Object  supported");
        }
      
    • in

        var hasAX = "ActiveXObject" in window;