[thelist] Is changing window.status='evil?';

Simon Willison simon at incutio.com
Wed Jul 31 12:03:17 CDT 2002


At 17:43 31/07/2002 +0100, Geoff Sheridan wrote:
>On one of my websites I've used javascript to change the
>window.status to give a description of the page the link will lead
>to. I've also used title="whatever" to describe the link.
>I am getting an unsettling feeling that using window.status in this
>manner is somehow inherently *EVIL*.
>thelist-ers, should I remove this code?

Maybe not evil, but almost certainly inadvisable. If I can't tell where the
link I am about to click on goes, how do I know it isn't going to dump me
on some nasty porn site? The title attribute should be enough to provide
additional information if required.

Regards,

Simon Willison
http://www.bath.ac.uk/~cs1spw/blog/




More information about the thelist mailing list