News for hackers. Stuff that matters.
Re:90% Good parts of jQuery - at only 13% of the size by DiabloD3 on Saturday November 19, 2011 @07:33PM (#3256822)
No, a lot of HTTPS sites won't because its a security hazard and also requires a CDN that provides HTTPS as well.
Re:90% Good parts of jQuery - at only 13% of the size by rsoto on Saturday November 19, 2011 @07:46PM (#3256854)
...Which those CDN provide support as well: https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
Re:90% Good parts of jQuery - at only 13% of the size by ufo on Saturday November 19, 2011 @09:58PM (#3257112)
...but is it really worth it to give Google a "backdoor" into your https app just because you want to load jQuery faster?
Re:90% Good parts of jQuery - at only 13% of the size by icebraining on Saturday November 19, 2011 @10:41PM (#3257189)
I find it very improbably that Google will decide to mess with it, but as a general feature it would be nice if one could indicate an hash of the file to be loaded (as a <script> attribute), and throw an error callback if the verification failed.

That way you could use Google's jQuery file without being vulnerable to them messing with the file contents.

Re:90% Good parts of jQuery - at only 13% of the size by mythz on Saturday November 19, 2011 @11:46PM (#3257297)
I'd say there is 0.000% chance google would use it's CDN to compromise 3rd party sites. It would be discovered in a flash and in no way will it every justify the brand confidence hurt.
Re:90% Good parts of jQuery - at only 13% of the size by X-Istence on Saturday November 19, 2011 @10:38PM (#3257186)
The user most likely already is giving Google a backdoor into your app ... if they are using Chrome.
Re:90% Good parts of jQuery - at only 13% of the size by drivebyacct2 on Saturday November 19, 2011 @10:41PM (#3257190)
What? That's absurd. You understand why that is hyperbolic, right?
Re:90% Good parts of jQuery - at only 13% of the size by X-Istence on Sunday November 20, 2011 @12:47AM (#3257391)
Just as absurd as Google destroying any and all confidence any of us tech people would have in them as a company if they loaded malicious javascript instead of jquery or along with jquery from their CDN's.

That is the point I was trying to make.

Re:90% Good parts of jQuery - at only 13% of the size by drivebyacct2 on Sunday November 20, 2011 @01:50AM (#3257497)
My apologies. I understand and think you make a very good point.
Re:90% Good parts of jQuery - at only 13% of the size by yuhong on Sunday November 20, 2011 @02:29AM (#3257539)
It is not just Google. Anyone that can get a fake certificate issued by a trusted CA for ajax.googleapis.com can MITM it and do the backdoor.
Re:90% Good parts of jQuery - at only 13% of the size by waitwhat on Sunday November 20, 2011 @08:20AM (#3258033)
That's not as universally true as it used to be. Chrome has introduced certificate-pinning [1] which covers googleapis.com [2].

[1] http://www.imperialviolet.org/2011/05/04/pinning.html

[2] http://src.chromium.org/viewvc/chrome/trunk/src/net/base/tra...