Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How to stop requests to ajax.Googleapis.com and load jQuery locally?
4 points by MisterWebz on Aug 7, 2013 | hide | past | favorite | 2 comments
I use RequestPolicy and I noticed tons of websites make requests to ajax.googleapis.com to fetch jQuery. With the recent revelations about Google handing over information to the NSA, I've become slightly worried about making so many requests to Google even when not visiting Google.

It looks like the file is being cached, but it's still making a request. Is there a way to load jQuery locally or force the browser to use the cached jQuery file instead of requiring to make a request to Google?



Use a userscript to like tampermonkey for chrome or greasemonkey for firefox to swap out the urls for local ones.


I'll try and see if that works, thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: