I really don't understand what the problem is with those people who ask you not to use JavaScript on your site.
Why the paranoia? https://www.beholdgenealogy.com/img/no_javascript.gif
I went through all sorts of trouble trying to remove a couple of JavaScript scripts I used on one of my sites to appease a couple of "complainers". A month later, after a relentless attack by spam bots, I decided I better add the JavaScript spam prevention code back in.
JavaScript is obviously used by a lot of programmers. It is currently the 6th most popular tag here at Stack Overflow. It is used on practically every single website that I know of.
The claim that it is a security risk seems bogus to me. I've had JavaScript on in my browser for as long as I remember, and not once have I found out that anything malicious has happened.
JavaScript has, of course, been extended into AJAX. And AJAX is the thing that makes the wonderful world of Web 2.0 work. And that includes this wonderful Stack Overflow site.
So is there something I'm missing? Is there something wrong with JavaScript that I'm not aware of?
Follow-up:
I am flabbergasted by the response to my Question.
The responses are strong and vociferous from the Anti-JavaScript people.
There was one pro-JavaScript comment, and it was voted down (as I write this to -2) by the others.
I turned JavaScript off to add this follow-up. I immediately notice three obvious things (There might be more):
A big annoying white on red banner at the top of each page saying: "Stack Overflow works best with JavaScript enabled". (Annoyance)
Comments cannot be viewed at all or added. You can't vote up or vote down. You can't select the accepted answer. (Loss of functionality)
Of course none of the AJAX stuff works. I don't have access to the line of editing tools above this entry box, and I can't see the preview as I type this. (Inconveniences)
So as far as I am concerned, turning your JavaScript off results in Annoyances, Loss of Functionality, and Inconvenience.
I'm sorry for the handicapped people who have no JavaScript support, but I still don't get why so many of you are so religiously against using it.
Personally, I love what AJAX and its beautiful interfaces and enhanced functionality are doing to the Web. I try to add such features to my site and it annoys me when the Anti-JavaScript people ask me - no, demand of me to take it out because they can't access them.
But how many of you use Stack Overflow with JavaScript off? None I would expect. Your answer would be that you turn it on for sites you trust like Stack Overflow.
Okay. If I make a site that uses Ajax or JavaScript, then I'm fine with you turning it off until you decide to trust my site. But don't expect me to be required to give you all the functionality that I do to people who trust me. Even Stack Overflow doesn't.
If someone wants to embellish this idea, I'll give them the accepted answer.
Also see the question: Is it worth it to code different functionality for users with JavaScript disabled?
and my answer to that question (which, when I last looked, had been voted down by the Do-Not-Use JavaScript people).
Followup. I found the following opinion about JavaScript at the WP-SpamFree WordPress Plugin page:
"Most of the spam hitting your blog originates from bots. Few bots can process JavaScript. Few bots can process cookies. Fewer still, can handle both. In a nutshell, this plugin uses a combo of JavaScript and cookies (on steroids) to weed out the humans from spambots, preventing 99%+ of automated spam from ever getting to your site. Almost 100% of web site visitors will have these turned on by default, so this type of solution works silently in the background, with no inconveniences. There are extremely few users (less than 2%) that have JavaScript and/or cookies turned off by default, but they will be prompted to turn those back on to post their comment.
Stats show that among all Internet users, less than 2% have JavaScript turned off, and less than 1% have cookies turned off. This requirement isn’t anything out of the ordinary because most modern websites require the use of JavaScript and cookies for key features — AJAX, for example, won’t work if JS is disabled.
Overall, the very few that might be inconvenienced because they have JS and cookies turned off will be far fewer than the 100% who would be annoyed by CAPTCHA’s, challenge questions, and other validation methods."