我的Greasemonkey脚本破坏了IE9 HTTPS安全性? [英] IE9 HTTPS security is compromised by my Greasemonkey script?
本文介绍了我的Greasemonkey脚本破坏了IE9 HTTPS安全性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在IE9中有一个导入jQuery的 Greasemonkey-for-IE 脚本。但是在安全页面上它不起作用。
I’ve got a Greasemonkey-for-IE script in IE9 that’s importing jQuery. But on secure pages it doesn’t work.
我得到:
SEC7111: HTTPS security is compromised by http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
失败的代码是:
var script = document.createElement("script");
script.setAttribute("src",
"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js");
如何使这项工作成功?该脚本不会导致Firefox出现问题。
How can I make this work? The script doesn’t cause a problem in Firefox.
推荐答案
大概:使用 https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min。 js 代替(或不信任第三方CDN(既值得信赖又不妥协)为您的安全页面)
Presumably: Use https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js instead (or not trust a third party CDN (to be both trustworthy and not compromised) for your secure pages)
这篇关于我的Greasemonkey脚本破坏了IE9 HTTPS安全性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文