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":{}}
缓存不是问题.
有任何想法吗?
谢谢.
解决方法:
这可能背后有一个安全更新:
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
标签:javascript,ajax,internet-explorer-11,spdy,ieaddon 来源: https://codeday.me/bug/20190711/1434318.html