Rey Bango

JavaScript, HTML, CSS & Random Stuff…

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:

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

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

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Category: JavaScript, jQuery, Yahoo User Interface Library

Tagged:

3 Responses

  1. Sean O says:

    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.

Leave a Reply

Learn JavaScript!

What to Read to Get Up to Speed in JavaScript.

The best books & blogs for learning JavaScript development. Broken down by experience levels!


My BIG LIST of JavaScript, CSS & HTML Development Tools, Libraries, Projects, and Books.

Constantly updated with the latest and greatest tools. Check it out!

Contact Me

GMail: reybango at gmail dot com
Twitter: @reybango




JavaScript JS Documentation: JS Function Example: Specifying arguments with the Function constructor, JavaScript Function Example: Specifying arguments with the Function constructor

Twitter

Rey Bango is Stephen Fry proof thanks to caching by WP Super Cache