top | item 3468732

(no title)

rufibarbatus | 14 years ago

As user of NoScript [1] (and its Chromium sidekick, ScriptNo), I'm often let down by pages posted to hacker news that have poor or no graceful degradation [2], and that often makes me feel like writing a comment complaining about it (which I haven't, won't, at least as long as I don't start offering quick fixes along with the complaint).

It's really refreshing to see a page of such a design complexity having given thought to scenarios where javascript might not be available. Kudos! (I actually have a hunch this default state was crafted with mobile browsers in mind — but it was nonetheless a thoughtful thing.)

[1] http://noscript.net/

[2] http://www.rdrop.com/~half/Creations/Writings/Web.patterns/g...

discuss

order

TomGullen|14 years ago

Why do you use noscript to block JS? I've never understood.

The inconvenience of dysfunctional sites surely outweighs the one in a million chance you will have your login to HackerNews stolen, or something else that's more of a nuisance than an actual danger.

mike-cardwell|14 years ago

1.) Speeds up websites

2.) Removes clutter

3.) Additional privacy

4.) Additional security

Not all sites are dysfunctional. And for the ones that are, you enable javascript from the relevant domains the first time you visit. You can choose to remember those preferences for the rest of the session, or permanently.

The small amount of additional work is worth it.

rufibarbatus|14 years ago

I'm not a security guy. I don't know what reasons other people might have. I actually started it as an experiment, and grew fond of it for no specific laid-out reason.

Actually seeing what trackers and other such spyware are embedded in most pages these days is interesting, but I could live without the granular control. I think what I'm most interested in is just really seeing how different pages will break (or degrade gracefully) confronted with the missing functionality of javascript.

If you haven't yet, I suggest you give these add-ons a ride for, say, a week, if anything for the sake of learning.

micro-ram|14 years ago

| Why do you use noscript to block JS? I've never understood.

Because when you hit an infected web site, the script loading from xyz.ru will not get loaded and you will be safe. NOSCRIPT FF & NOTSCRIPT Chrome FTW!

there|14 years ago

you're referencing a (completely static) webpage that was last updated 9 years ago. i think "graceful degradation" by today's standards would be using fallback fonts, avoiding cutting-edge html 5 stuff, and maybe some ie6 css hacks if you really want to support that extra single-digit percent of users. html, css, javascript, and browsers have evolved enough that if you want to remain in that tiny fraction of a percentage of users that want to use noscript, you're going to wear out your fingers complaining.

zachstronaut|14 years ago

A valid criticism, and I apologize, as I'm very interested in progressive enhancement. It was an omission, and I believe you will find that the page is readable in its default state without JavaScript now. (Mind you, I threw this thing together in the middle of the night last night on a creative whim, and wasn't exactly expecting to end up on ycombinator.)

rufibarbatus|14 years ago

I was actually complimenting you for setting the spotlight to the centre of the page by default, not criticising you. :-) What did you change now? I revisited the page and it looks the same to me.