Quintissential Wrongness: Javascript

2007-01-16 14:45 - Web

I dislike Microsoft for a lot of their products. I'm forced to use Outlook now at work, and it's a serious pain. Unusually, MS has written the best debugging HTTP proxy I know of: Fiddler. I was struggling to get something advanced I wanted done, so when I discovered the support group, I figured I'd join it. I was forced to sign in with an MS "Passport" for the "MSN Group" and then continue setting up details. My desired username was taken (I suspect, hope, by me earlier and I can reclaim it). There was a form to choose another, and beside it, a "cancel" link. What is completely absurd is the HTML code of that link (formatted for readability by me):

<a title="Cancel creating this group" class="LargeCommand"
    href="javascript:document.location='http://groups.msn.com/';"
>Cancel</a>

What, what what? A link, to javascript, to do nothing besides set "document.location" to a string constant? Who did that? Fess up!

Comments:

No comments!

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

  • An empty line between text will create a paragraph boundary.
  • Use angle braces around a plain URL to auto-link it: <http://www.example.com/>.
  • Use this format to create a link with different text showing: [An Example](http://www.example.com/).
  • Use backticks (``), not leading spaces to enclose a code block.

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)