Scott Andrew - lo-fi acoustic pop superhero!

Join the Demo Club to unlock new music, get discounts, tour dates and other neato stuff:

or learn more here.

May 6, 2002

javascript: is deprecated. Don’t use it.

Repeat after me:

javascript: is deprecated. Don’t use it.
javascript: is deprecated. Don’t use it.
javascript: is deprecated. Don’t use it.

Absolutely every link in the list of this year’s Webby Award nominees is completely dependent on JavaScript being turned on:


<a href="javascript:winLaunch('http://www.example.com')">www.example.com</a>

People, please, stop using the javascript: protocol in your links. This has been common knowledge since, oh let’s see, at least the last four years. At least allow people to follow the link if JavaScript is disabled. It’s not rocket science:


<a href="http://www.example.com" onclick="winLaunch('http://www.example.com');return false;">www.example.com</a>

At the very least, use <NOSCRIPT> to offer alternatives to JS-dependent content. Or put a big eye-catching notice telling vistors they need JavaScript enabled. Unless you don’t actually care about users being able to, you know, use your site.

No Comments

Leave a Comment

Get The Tunes

Download Scott Andrew tracks from iTunes Find Scott Andrew at Spotify Find Scott Andrew at Emusic Find Scott Andrew at Lala Find Scott Andrew at Rhapsody Find Scott Andrew at Amazon Find Scott 
Andrew at CD Baby Find Scott Andrew at Napster

More Options

Reader Comments

New Videos

More Videos

Photos

More Photos at Flickr