Tech pisstakers

Humorous naked tech

Stupid javascript scripts and stupid widgets

Javascript is a useful way of adding interactivity to a web site. I covered a way of rating posts earlier, a useful idea, but as with all good ideas, there are stupid javascript applications that make you want to scratch your head and wonder “What were they thinking?” The most stupid javascript script I have met so far is this one from

Viewing this page with a version 2 browser automatically submits Email containing your captured Email address. Your Email address is sent to an address which then bounces an Email message to you to prove that this web page grabbed it (“it” being the Email address field in your JavaScript-enabled browser, if it’s filled in.)

See what I mean?

There are hundreds of other stupid scripts, such as widgets that grab information from around the internet and place loony data in one “neat” spot on your page. A couple of particularly stupid widgets are Shave my yeti! and an Idiots List, to name but two.

There is loads more stupidity over at Widgetbox. I challenge you to come up with a more dumb idea than What not to do in accident.

StumbleUpon Toolbar Stumble It!


January 16, 2008 Posted by | Humor, javascript | , , , , , | Leave a comment

Javascript rating script

It is a cold day, so I will quickly wrap up this topic about javascript rating scripts before my nuts fall off.

If you are an opinionated but lazy reader, you will love the idea of rating an article with a simple click on one to five stars. (And if not stars, some weird “creative” graphics.) This click-and-go system is much more convenient than emailing or commenting. Just hit one to five stars, the javascript records your choice on a server, computes the effect on the aggregate votes and sends the end result back for all to see. No chance of a debate, no need to justify yourself to someone who disagrees with your opinion, just click and go.

If you have a blog, consider installing a javascript rating script to see what the lazy bastards really think of your posts, (I mean, to encourage feedback from your valued readership.) Here are some specific ideas for a simple rating script that you may want to try out. 

In order to increase one-click feedback, you could do as Yahoo Finance do, and make commenters rate the post before they can leave a comment. But unlike Yahoo, please put a little note in an obvious place, explaining the commenting process. Don’t be like me and scan through 300 comments in search of a comment box, to find none!

As an alternative to javascript, ratings lovers could try a php rating script from Phazos.

Did you like that info? I have no ratings scripts here, cause I think that whilst ratings are a teeny bit of interactive fun, they are too open to abuse. I prefer readers to leave a comment to add to the conversation. And perhaps the rating system is the line of  javascript that finally reduces your site-loading speed to a crawl.

Cheers. Ed

StumbleUpon Toolbar Stumble It!

January 11, 2008 Posted by | javascript | , | 2 Comments