Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
151
rated 0 times [  157] [ 6]  / answers: 1 / hits: 49335  / 14 Years ago, mon, october 11, 2010, 12:00:00

I’ve got a Greasemonkey-for-IE script in IE9 that’s importing jQuery. But on secure pages it doesn’t work.



I’m getting:



SEC7111: HTTPS security is compromised by http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js


The code that fails is:



var script = document.createElement(script);
script.setAttribute(src,
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js);


How can I make this work? The script doesn’t cause a problem in Firefox.


More From » jquery

 Answers
197

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)


[#95360] Friday, October 8, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jakobarmandr

Total Points: 363
Total Questions: 103
Total Answers: 87

Location: Romania
Member since Mon, Jun 6, 2022
2 Years ago
;