Re:Hotlinking to jquery.com will be disabled on January 31, ...
by adamdecaf on Friday December 31, 2010 @01:32PM
(#2056024)
Most users will have the javascript in their cache anyway, so they won't even be hitting the CDN. Also, why not check to see if the object exists before doing anything else?
That should work, in theory, if not then just remove script#jquery, create a new one and append to the document before executing any script(s).
[ Parent
| on HN ]
Re:Hotlinking to jquery.com will be disabled on January 31, ...
by mootothemax on Friday December 31, 2010 @01:58PM
(#2056094)
It's at times like this that I feel really stupid ;) Thanks, you can guess what I'll be changing on my sites the minute I sobered up, err, sometime in the next couple of days ;)