in reply to Has a line been crossed by this user

Wow! You still have Javascript enabled?

I switched that off years ago in my browser. The legitimate uses it once had have by and large been replaced by the correct use of CSS. It's true that as a result I sometimes encounter a site that doesn't work correctly, but that's ok, because in the words of Jamie Zawinski... "that's just fine -- because sites that do this invariably ALSO DON'T HAVE ANY CONTENT ON THEM".

Just don't go around pressing buttons on homenodes, it's as simple as that. If you can't resist that, at least read the source beforehand, to know what you're getting yourself into.

As late as a few years ago, a senior monk had a Javascript that would send your PM password if you clicked the right button. It may still be there. Cave canem and all that.

Javascript buttons are part of the Perlmonks Experience™, the place wouldn't be the same without them.

update: I didn't realise it was automatic, rather than having to click on a button. Indeed, that's different, but not different enough IMHO, to make a difference.

Just surf with Javascript disabled. Everywhere, all the time. It's basic 'net hygiene. Modern browsers make it really simple to switch on and off, no grovelling in preferences required. The user should be applauded for making people think about this.

Second update: by "Javascript disabled everywhere", I should explain out that I mean "Javascript disabled by default". Firefox, to speak of the browser I use, has an extension called Noscript, which allows you to choose whether or not you want to execute the Javascript they want you to execute. So for the sites that need it, all is well.

What is truly amazing when you use this extension, is the number of sites that do use Javascript, more or less for gratuitous purposes. If you don't know why a site needs to use Javascript, don't let them. It's like running with taint checks.

grinder trips over a pipe, gets up and trips again.

  • Comment on Re: Has a line been crossed by this user

Replies are listed 'Best First'.
Re^2: Has a line been crossed by this user
by bradcathey (Prior) on Jul 05, 2005 at 23:59 UTC

    grinder, I +'ed your reply, but respectfully disagree. I know it's very popular around the monastery to trash javascript, but as a web developer and surfer, I find it extremely helpful, and so far harmless (hmmmmm, the topic of this thread notwithstanding). Personally, I only build tableless, CSS2 and XHTML sites, but there are things that javascript does that are cumbersome, at best, using other methods. And thanks to Internet Exploder, it's impossible to have CSS menus without a javascript hack. CSS is great, but it's not a conditional language.

    I don't use JS for validating forms or encrypting passwords (Perl does that for me), but use JS in those places where HTML and Perl can't do it as efficiently. And if someone wants to do damage, they don't need JS do it.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
Re^2: Has a line been crossed by this user
by talexb (Chancellor) on Jul 06, 2005 at 15:33 UTC
      Wow! You still have Javascript enabled?

    Umm .. yes, I do. There are useful things that JavaScript can do. A while back, someone's home node (don't know if it's the one being discussed) forced my browser to close because I had JavaScript enabled .. oh, I think it was Petruchio's .. that didn't make me a happy camper.

    The bottom line is that I use it for the web application I wrote and still maintain at my place at work, Google (maps, gmail) uses it, and for the most part it's very handy.

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Re^2: Has a line been crossed by this user
by PhilHibbs (Hermit) on Jul 05, 2005 at 14:37 UTC
    It isn't a button. It's automatic. I use Google Maps a lot of the time, and it's a real pain to keep switching it just to avoid being bullied by pillocks like Ctrl-z.