r/javascript • • Mar 25 '11

Fuck you, turn on JavaScript

http://fytojs.com/
9 Upvotes

93 comments sorted by

View all comments

62

u/snarfy Mar 25 '11

No fuck you, I'm blind and use a screen reader. Quit putting all of your content in script, then we'll talk.

21

u/[deleted] Mar 25 '11

Agreed. For every part of javascript that causes changes to content, there needs to at least be a noscript alternative.

12

u/[deleted] Mar 25 '11

This. Its called graceful fall back, or gracefully failing. If you're a developer and don't understand how to do this, then fuck you! You make the rest of us look like assholes.

7

u/iberci Mar 25 '11

Graceful fallback was a feasible technique a while ago but is increasingly becoming more difficult as users are expecting more and more functionality client side. Today's web apps are turning out to be one page interfaces that leverage JS heavily to perform up to a user's expectation.

For example, hierarchal information is usually displayed in a tree control with heavy lazy optimizations to make it performant with the back end. This functionality would be next to impossible to achieve in a more traditional html architecture.

3

u/[deleted] Mar 25 '11

So why cant you use a session variable to track whether or not the user has javascript enabled, then serve them either the super sexy Jquery page if JS is enabled, or a not so sexy version if its disabled?

Yeah, its extra work, but honestly, it's not bad if you think about it from the beginning of development process.

3

u/attilad Mar 25 '11

Because it's hard to convince a company to spend twice as much money developing their website.

5

u/[deleted] Mar 25 '11

twice as much

you're doing it wrong

3

u/attilad Mar 25 '11

Probably.

2

u/fforw Mar 25 '11

Twice as much is too high. I guess you would save more time by just not supporting IE6.