Hacker News new | ask | show | jobs
by JoshTriplett 4734 days ago
> Javascript is not required to read articles on the web.

Agreed. However, the web consists of far more than just "articles", and quite a bit of content legitimately uses JavaScript for required functionality. Disabling it needs to have the kinds of huge "this will break things" warnings associated with installing an extension like NoScript; it shouldn't have a checkbox in Firefox's preferences.

2 comments

I surf a lot of the web with javascript off.

Most of the time, the major content of a page doesn't require it. When it does, it is usually either poor design, or good design where the design is intended to display a bunch of crap I don't want and download a hoard of tracking data.

To put it another way, when I'm surfing, Google Analytics isn't doing anything in my interest.

Which is why NoScript is great: you can load the main site functionality without having to enable Analytics. The global enable/disable JS switch is just terrible for this kind of browsing, in my opinion.
I have a crazy idea: a popup with an explanation the first time the user toggles the feature.
That's a terrible idea. The explanation would have to be very long - practically an essay. And the only people that will understand the explanation (or even care) are folks who are competent enough to quickly google how to disable javascript through about:config.

Increased software complexity and no tangible benefit. Lose-Lose.

What? If you can't explain in one sentence the fact that disabling JS will break most websites and it should only be done if you know what you're doing, then you've got bigger problems.
And the 'people that know what they are doing' are the ones that know what about:config is, and how to Google for extensions to disable JavaScript. It's also arguable that an extension that provides an easy 'toggle JavaScript on/off' button is a much better interface than needing to dive into the preferences pane to disable JavaScript (and possibly re-enable it sometimes).
People will still do it without understanding and then complain that Firefox broke. There is no legitimate reason your average user should have access to this checkbox. Especially when if you actually want to disable Javascript it's still very easy.
People will still do it without understanding and then complain that Firefox broke.

If that is true, then point me to all those complaints.

There is no legitimate reason your average user should have access to this checkbox.

That's called kicking away the ladder, and fuck that with a rusty chainsaw. How are people supposed to even get curious about what Javascript is, when they never hear of it?

Somehow the dark corner of a preferences pane doesn't seem like the place anyone would choose for an introduction to Javascript.