【问题标题】:deployJava.js does not support IE11deployJava.js 不支持 IE11
【发布时间】:2013-12-12 07:26:31
【问题描述】:

函数“getBrowser”返回“检测到的浏览器名称:Netscape Family, Other”。 有人改进了吗?

【问题讨论】:

    标签: javascript internet-explorer-11 deployjava


    【解决方案1】:

    http://www.nczonline.net/blog/2013/07/02/internet-explorer-11-dont-call-me-ie/

    根据上述,我们可以在userAgent字符串中搜索'trident'。

    【讨论】:

    • 在函数'testUsingActiveX'中,还需要去掉如下代码: if (typeof ActiveXObject == 'undefined' || !ActiveXObject) { if (this.debug) { alert('Browser声称是 IE,但没有 ActiveXObject 对象?'); } 返回假; }
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-09
    • 2019-03-11
    • 1970-01-01
    • 1970-01-01
    • 2016-10-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多