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.












