微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

javascript – 从IE11到谷歌GET不起作用

我正在为IE11开发一个扩展程序,作为其中的一部分,我正在使用xhr(GET)到Google的设置页面.
代码后台页面上运行.

这些是我传递的细节 –

var details = {
            url: "https://security.google.com/settings/security/permissions?pli=1&hl=en&rt=j", 
            method: 'GET',
            async: true,
            contentType: 'text'
        }

这是电话 –

kango.xhr.send(details, function(data) { 
// Yada yada yada
});

它在Firefox,Chrome,Safari,Chromium上运行良好,甚至在IE11上工作到今天.

我得到的回应是

{"response":"","status":"0","abort":{}}

缓存不是问题.

有任何想法吗?
谢谢.

@R_502_5620@:

这可能背后有一个安全更新:

This issue occurs if the Internet connection is established through certain proxy servers when the SPDY/3 protocol is enabled in Internet Explorer.

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update.

Note This update was first included in security update 2925418.

参考

> An update is available that disables Enhanced Protected Mode by default in Internet Explorer 11
> Sites that support SPDY do not load first time when IE is configured to use a proxy server and SPDY is enabled
> “This page can’t be displayed” error when you browse a Google webpage in Internet Explorer 11
> Internet Explorer 11 – New Technical Features
> A Developer’s Survival Guide to IE Protected Mode

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐