in reply to CGI and JavaScript

In answer to your questions:
I always surf the web with javascript on, as far as I can see, it isn't that dangerous, but take this site for example; You have javascript enabled, and you visit my homenode, I have a simple javascript there to read your cookie with and /msg me with the information I just read. This can prove to be very dangerous.

But I still use javascript in my web develpment, you can see my website, that was the first site I ever made, and I was very pleased with javascript I used it heavily on the site. and I couldn't have said it better: "I know that it isn't very good programming practice to limit visitors based on the software they are running, or what options that they have turned on, but apparently it happens very frequently in the real world."

As I know more perl, I tend to stray away from javascript. I'm redesigning my site made fully with perl, and has validated HTML.


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/

Replies are listed 'Best First'.
Re: CGI and JavaScript
by delegatrix (Scribe) on Jun 04, 2001 at 06:31 UTC
    Yes, I surf with Javascript enabled.

    No, I do not use it in site development, for a few reasons.

    First, the use of JS can enter some really funky usability problems into your site, particularly when dealing with JS for dynamic menus or onSelect type operations.

    Second, US federal regulations require that all script functionality on my sites be available to persons with disabilities, surfing with assistive technology like screen readers for visually impaired people.

    I'd rather just build a single, usable interface than have to deal with redundant systems. My servers can take the hits.