[thelist] Speaking of detecting: howto detect Javascript on/off?

James Aylard evolt at equilon-mrc.com
Wed Mar 14 15:09:16 CST 2001


> I'm not sure i quite understand how this would work, etc... but what
> if the image is the first thing you load, and its javascript somehow
> sets a variable in the page?

    But, even if you can do that (and I'm not sure how you would), what good
would it do? You can neither read nor change a variable in a
javascript-disabled browser -- and of what value would it be to a
javascript-enabled browser?
    As I see it, the only real value of testing whether or not javascript is
enabled is to have the server serve alternate content if it is not. After
all, a web page within a javascript-disabled browser is completely static
apart from updates from the server (animated gifs aside ;).

James Aylard

More information about the thelist mailing list