A much better point against JS would have been about XSS or similar. Yes, that's still a real risk, but incidents seem to be on the decline as it's become standard web developer practise to guard against it. And that's only ever a single-site vulnerability, not the local-machine arbitrary-code-execution exploit you seemed to allude to.
But even if I am confused about all that, I'm certainly not wrong about the numbers - it's about 5% IIRC, and going down. JS is here to stay, is becoming a necessity on many sites, and everyone's just going to have to deal with that.
I don't think anyone was making a point against JavaScript in terms of vulnerabilities in the JavaScript interpreter itself. If you read the statement to which you reply, you might notice that the parent comment referred to people wanting to avoid execution of code from the Internet on the machine -- not about whether JavaScript is itself directly vulnerable.
> the local-machine arbitrary-code-execution exploit you seemed to allude to.
I didn't get that impression at all.
Sorry - as mentioned in my other reply at this level, I really was imagining a certain type of person (in fact, a certain person) as I typed that, and kind of went off on my own.
Still:
"you might notice that the parent comment referred to people wanting to avoid execution of code from the Internet on the machine"
I maintain this is a largely irrational fear. The very phrase "execution of code" is very blurry when it comes to the web browser. And one hitherto unknown bug in an image or (closed source) PDF library and you're "executing code from the internet" too, and at a far more dangerous level of access than anything inside the JS sandbox.
Not to put too fine a point on it, but "of course you don't." If you did, you would change your opinion.
* I think the majority of people who browse with JS deliberately turned off are misinformed*
Even if so, they are the same so-called 'paranoid' people to whom a secure (and hopefully anonymous) micropayment platform appeals.
And even if I am confused about that I'm certainly not wrong about the numbers, they're minute.
What is important is not absolute numbers. I reckon that school teachers comprise a minute portion of all web surfers. I doubt that Patrick would use this as a reason to exclude such from his Bingo Card Creator site.
I consider myself to be super-paranoid and would welcome with open arms a proper cryptographically secure internet payment system.
You would think that one could generalize this.
I've done my dues in network admin and I can assure you that informed users like yourself are in the minority. I've only ever known a couple of people who turned off JS as a matter of course and they did so for all the wrong reasons, as I mentioned above. I am sure you can imagine the type of "power user" I am talking about.
Anyone who is actually informed about these security issues tends to mitigate them behaviourally. It's like antivirus. Most of the clued-up tech people I know do not constantly run antivirus software; they don't need to because they never take any action which might lead to virus infection. They might scan once a week or month or something.
It's the same with JS, IMO - if you know about the real issues with it, you also know how to avoid them, and you wouldn't ham-fistedly cripple the rest of your browsing experience in the process.