Use ScriptSrc.net to Copy and Paste the Script tag for Your Favorite JavaScript Library

One of the things I hate about using CDNs is remembering the path for the latest version of my favorite JavaScript library. I end up having to pull a search engine, search for the site, find my library, copy & paste the link and then drop it into my app. I know, it sounds trivial, but it’s just one of those “trivial annoyances” that bugs me.

I stumbled onto a site that makes all of that much easier. Scriptsrc.net provides a dead simple way to bypass all of that because it clearly lists the most popular libraries on one page along with a copy & info button. You click on the “copy” button and you now have the full path to the most recent version on Google’s Ajax API CDN.

Here’s a screenshot:

Clicking on the copy button will provide this:

[code lang=”js”]<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/code]

It’s a neat tool to add to your arsenal and a time saver, at least for me. It supports:

jQuery
jQuery UI
YUI
Dojo
Prototype
Script.aculo.us
MooTools
Ext JS

Rey Bango

5 Comments

  1. Now if only there were a way to remember the URL for “scriptsrc.net”… seriously. Heard about it last week, and was looking for it today. Ended up just googling “jQuery UI CDN”.

  2. @Sean O: The include tag for javascript is <script src=… hence the name scriptsrc.net. I think it's pretty easy to remember when you look at it that way.

    Anyways, thanks for the post Rey! Really appreciated.

    Also, if anyone reading is wondering. All of the script tags are checked against googles hosted libraries every night. If any new versions are found they are updated and tweeted out through @scriptsrc.

    • My pleasure Brandon. It’s focused services like this that make development so much easier. Great work.

  3. where can i find the latest version of JQM. That Scriptsrc.net not showing the link for JQM

Comments are closed.