Home > All, CSS, JavaScript, Web > When you need jQuery (or Bootstrap), but fast!

When you need jQuery (or Bootstrap), but fast!

I sometimes need to test some jQuery locally and I’m never organised enough to have a template ready. The latest version from a CDN is all I need and googling for the URL or searching my bookmarks will take longer than the solution I came up with today.


<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”


<script src=”http://is.gd/jQuery” type=”text/javascript”></script>

I’m hoping that if I use it enough times, I’ll remember it! If you use this tip, make sure you don’t copy paste this onto your production systems. You could do without the one extra request to is.gd

Edit: I’ve added a URL for Bootstrap, from Twitter. It is:

<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css"
rel="stylesheet" />


<link href="http://is.gd/Bootstrap" rel="stylesheet" />