5 ms·
Why is it that people disable JavaScript and then act surprised that random sites break? Whether or not this site should need JavaScript, the presence of JavaSc
by dpark 9y ago
Why is it that people disable JavaScript and then act surprised that random sites break? Whether or not this site should need JavaScript, the presence of JavaScript support in modern browsers is almost universally assumed at this point.
If you want to browse with Netscape Navigator 1.0, go for it. But stop feigning surprise that random things don’t work.
- mivanchev 9y agoRandom things like displaying text you mean? I don't think this has changed that much since the Netscape days. It would be OK if the site needs scripting for some legitimate task to compute a nicer layout, play some animation, interact with social networks, process payments etc. Detect NoScript, dump the text of the article, show "You are viewing a reduced version, because of your script blocker", done.
- brazzledazzle 9y agoYou're not wrong but I think this exchange might have gone differently if the tone wasn't so incredulous from the start. Perhaps something like this: "I know JavaScript is assumed to be universal these days but since this is really just text it would be great if it just displayed the raw text as a fallback for when JavaScript wasn't available." I know it's kind of silly but how we present something can dramatically change the response. But in fairness sometimes a direct and plain explanation for why something is bullshit is the only way to get things noticed or done too.
- mivanchev 9y agoI have no other option, but to agree with you fully. Thanks for giving me a perspective :) Have a nice day!!!
- samastur 9y agoAs I am one of these people at least for me it is not surprise as much as disappointment as it is often so unnecessary as it is really not that difficult to build a page that can be displayed without Javascript in browser EVEN if it is built with Javascript (reference: I am a web developer). And the reason why I have JS turned off by default is not some kind of misplaced nostalgia. It is to prevent random shit running in my browser.
- berdon 9y agoThis. Pointing out lack of no-javascript support is tantamount to starting every dinner conversation with "I'm a vegetarian". It's OK to turn javascript off but we've long since left the world where javascript wasn't the norm.
- logfromblammo 9y agoIt is not okay to design your site such that it requires permission to use browser features that are not necessary for the presentation. Asking for script permission to display text is as bad as asking for microphone permission for an app that does not use audio. Presentation of text has always been possible in HTML without the use of script. You don't need script permission. Don't ask for it. Don't require it. Just because a lot of people do it doesn't mean we should ever stop complaining about it (bandwagon fallacy). It is wrong. The people who do it are doing it wrong. They may not be aware of it, so someone needs to mention it. Every time.
- berdon 9y agoYou're building a strawman's narrative here. This website uses javascript for _far_ more than displaying text. Additionally, "requires permission to use browser features that are not necessary for the presentation" is deflective and misleading. Your monitor isn't necessary for presentation either - you could print out the website.
- logfromblammo 9y agoYou are absolutely correct. The monitor is not necessary. Only the text characters are necessary. They might never appear on any screen. They might be converted to audio by a screen reader, or rendered on a Braille display. They might be fed into a webcrawler robot to be indexed. Any additional features also implemented in script are not relevant to the delivery of the text. Whatever else the javascript may do, it is not necessary to transmit text. The text is all I care about. Other people might want additional bells and whistles, but I just want the human-readable text. The web is a consumer's medium. You cannot mandate that anyone experience the content you send them in any particular way. Whatever it is that you send may be blocked, filtered, or modified before ever reaching human eyes. It is therefore polite to provide many options for the manner in which users may experience your content, such as by providing graceful degradation all the way down to someone opening up a raw telnet connection to port 80 and typing in their HTTP request by hand. (Have you ever done that? I have.) Remote transmission of alphabet characters has been a part of human networking since 1793. If I ask a question using an optical semaphore tower, I don't want your response to be sending a minstrel to me in person, with a bunch of hand puppets and marionettes to act out the answer.
- rlpb 9y agoIt's not necessarily surprise, but that doesn't stop it being user hostile and doesn't negate the need to call it out. For a web app, Javascript is fine. To present what is primarily a textual article, it's ludicrous. Just because it's becoming increasingly common doesn't mean stop it being so.
- cooervo 9y agoalso they seem to need to publicize this to the whole world. I disable JS. -_-'
- phjesusthatguy3 9y agoThis didn't happen this time but: If your site displays nothing without JS, I have to be desperate to see your content to, well, turn on JS to see your content. You as a site owner are asking a whole lot more from me by allowing just anyone on the net to run code on my computer than I am of you.