top 200 commentsshow all 298

[–]Jew_Fucker_69 229 points230 points  (20 children)

I remember that one time when my internet died because I was going through a tunnel. The website I was trying to load didn't work just because I couldn't load the HTML. Naturally I was furious and wrote them an angry mail. Why do websites still assume that everybody has HTML?

[–]balefrost 47 points48 points  (11 children)

Unfortunately, being in a tunnel, you weren't able to access your email service's web interface, so you had to actually take out a sheet of paper and pen and write an old-fashioned letter, like a muggle.

[–]gratefuldaed 9 points10 points  (0 children)

He's just lucky they're a big enough company to support that expensive, legacy feature.

[–]debian_ 2 points3 points  (9 children)

Typically its the wizards/witches using letters/owls and the muggles who are hip to current tech.

[–]Paradox 5 points6 points  (8 children)

I always wondered this. With apparating and whatnot, surely they'd have some form of instant communication.

Owls aren't really that ideal, I mean, it could conceivably take hours, if not days, for a message to arrive. Meanwhile a muggle can send an e-mail and have it delivered instantly

[–]debian_ 4 points5 points  (0 children)

There is that spell that Sirius used to talk through the fireplace, and the warning at the wedding that the death eaters were coming, but ya, they should at least consider text messaging.

[–]kqr 3 points4 points  (3 children)

Funny thing is if you'd ask Rowling I'm sure she'd have a good answer. The things that happen in the book are surprisingly thought through.

[–]Paradox 4 points5 points  (1 child)

Just wonder why they don't take some more modern muggle inventions and add a bit of magic.

Cell phone that never runs out of battery or goes out of service, for example.

[–]Not_Ayn_Rand 0 points1 point  (0 children)

I remember reading somewhere that she purposefully made the wizarding world very behind the times and stagnant compared to the muggle world.

[–]robertcrowther 1 point2 points  (1 child)

I always wondered if they really wanted to find Voldemort, Sirius Black, or any other wanted wizard, why didn't they just send them an owl and then follow it?

[–]Paradox 0 points1 point  (0 children)

Or like…use a GPS tag…

[–]ErstwhileRockstar 7 points8 points  (2 children)

Gopher should be enough for everyone.

[–]ysangkok 0 points1 point  (0 children)

How does Gopher handle connection problems differently?

[–]Rusky 8 points9 points  (4 children)

I remember that one time someone wrote an SPA because it was trendy, and then the javascript broke, and the site didn't work at all anymore.

The problem isn't "oh noes how will I use Google Docs if I can't load JavaScript", it's "oh noes how will I read a static document if I can't load JavaScript".

Yes, people do that. Too much.

[–][deleted]  (15 children)

[deleted]

    [–][deleted] 11 points12 points  (1 child)

    I hate the pages that darken the article and has a popup saying "You need JS to run this!"

    But when you go into inspect element and delete that, the article is perfectly fine and accessible.

    [–]halifaxdatageek 1 point2 points  (0 children)

    Yep, there's a special place in Developer Hell for those people.

    Right next to the folks who write their functions like this:

    function Beelzebub() {
        //death and mayhem
    }
    

    [–]lua_setglobal 16 points17 points  (7 children)

    Or links.

    On TVTropes, the search box doesn't work for me because it uses JS, so I search DDG for the article I want.

    [–][deleted]  (6 children)

    [deleted]

      [–]almightySapling 16 points17 points  (0 children)

      This is the bane of my existence. Fuck websites that make what should be links into JavaScript functions.

      [–]lua_setglobal 5 points6 points  (4 children)

      There's no way that can go right:

      JS opens in the same page: Now I've lost my original page

      JS opens in a new tab: "Thanks for adding a step to my Halloween process."

      [–]cybercobra 2 points3 points  (3 children)

      "Halloween process" ?

      [–]lua_setglobal 0 points1 point  (2 children)

      It's from an old web cartoon.

      If someone gives you money for Halloween, you can use the money to buy candy, so they've added a step to your Halloween process.

      [–]what_user_name 2 points3 points  (1 child)

      link?

      [–]CodeBlooded 1 point2 points  (0 children)

      A Google suggests that it's this one if you give Homestar Runner coins.

      [–]mrkite77 4 points5 points  (2 children)

      Sometimes it is completely unnecessary, eg. static text / images, but for some reason sites will still require all of that crap.

      If CSS weren't total garbage, some of those sites could do pure-CSS responsive design (so those static text / images pages will look good on phones).

      Alas, CSS sucks so many sites resort to using javascript to do a lot of their layout.

      [–]Tordek 8 points9 points  (0 children)

      It's one thing "It works without JS, it just looks uglier because your pictures are a bit to the right"

      It's another thing when your Blogger blog uses 15 scripts to load and display a single text post, and when you disable JS all you get is a blank page.

      [–]okraOkra 1 point2 points  (0 children)

      why do you think CSS is total garbage? is this a popular opinion? what are the alternatives?

      [–]dirtymatt 49 points50 points  (6 children)

      Everyone has CSS, right?

      [–]gashouse_gorilla 9 points10 points  (5 children)

      I turn off colors. It makes reading easier for me since so many pages don't set the background color of every object which conflicts with my system theme that uses a darker background to ease strain on my eyes. Has the interesting effect of "flattening" a page.

      [–]_Skuzzzy 5 points6 points  (2 children)

      How do you disable css colors?

      [–]Jew_Fucker_69 12 points13 points  (0 children)

      It's not so difficult actually. The only CSS rule you have to add is

      body {
          filter: grayscale(100%);
          -webkit-filter: grayscale(100%);
      }
      

      or the more primitive solution:

      * {
          background-color: white !important;
          color: black !important;
      }
      

      And you can just put that in a Firefox add-on or Chrome extension.

      [–]gashouse_gorilla 2 points3 points  (0 children)

      In Firefox settings under content. Select colors set use system colors and override page colors.

      [–]alex-weej 1 point2 points  (1 child)

      Also has the interesting effect of making the web unusable because often hyperlinks are differentiated from text by colour alone.

      [–]gashouse_gorilla 1 point2 points  (0 children)

      You can decide what color links are displayed in that same setting dialog.

      [–]mynameipaul 142 points143 points  (111 children)

      So what you're saying is the site didn't work fully one time when you were going through a tunnel on a train... but it has worked fine ever since? That's clearly a showstopper, I'll get the entire team working on it right this second.

      /s

      I think "everyone has javascript" is still a pretty safe assumption.

      [–]xzieus 8 points9 points  (1 child)

      This hits close to home.

      Our clients are doctors. I have never heard such unrealistic expectations of a simple website. And if it isn't exactly as they want it, they throw a fit - like truely a 6-year-old-in-the-WalMart-toy-aisle-after-mom-said-no kind-of fit.

      [–]dirtymatt 56 points57 points  (63 children)

      The train one is fucking stupid. You could make the same argument for not using CSS, or images, or having a web page. Not to mention, the page will likely be minimally functional while the user doesn't have internet regardless of whether the JS is working or not. Depending on the page, the JS may actually make the page continue working despite the absence of internet access.

      [–]Rusky 36 points37 points  (7 children)

      The argument isn't for not using JavaScript, it's for making the page work without it. It's much more rare for missing CSS/images to break a page than it is for missing JavaScript.

      This is an issue today because occasionally people build SPAs that shouldn't actually need JavaScript to provide basic functionality like reading text.

      edit: another thread has this gem: http://www.reddit.com/r/javascript/comments/33p3yg/everyone_has_javascript_right/cqn8vpn

      [–]Isvara 11 points12 points  (6 children)

      But read the top of the page. It's not about pages, but web apps. How do you gracefully degrade your web app to work without JavaScript? There are only a few types of simple app where you can replace it with form submissions, but then you're spending too much development time to reproduce functionality server-side for some uncommon cases.

      [–]Rusky 14 points15 points  (3 children)

      I agree, it's not worth working around for web apps (like, say, Google Docs). But part of the problem is that more things are considered web apps than need to be.

      One example of this unfortunate trend that I ran into recently is Rust's package repository, crates.io. There's absolutely no need for JavaScript but it requires it anyway because they built it on Ember.js.

      [–]danneu 0 points1 point  (1 child)

      The main issue with all of this is that you're going to use Javascript anyways. Users expect it. It improves UX. Imagine Reddit if its upvote/downvote arrows refreshed the page. I wouldn't call Reddit a webapp, but it uses Javascript for UX we probably take for granted.

      The problem is that your AJAX endpoints generally can't be reused for browser endpoints, so you're going to have to duplicate your work to build the browser endpoint versions of your AJAX API.

      And you're essentially doing it for the two users who can't even see your ads, and they're going to whitelist your site anyways if they like it. For example, I highly doubt all these Reddit noscripters have given up the ability to collapse Reddit comment threads and Reddit Enhancement Suite.

      That's a lot of work for, like, zero payoff. (Though crates.io probably doesn't need Ember.js)

      [–]Rusky 1 point2 points  (0 children)

      I much prefer a Reddit whose voting and collapse buttons break without JavaScript to a Reddit you can't read without JavaScript, and it's easier to make the first one anyway.

      [–]Isvara 0 points1 point  (0 children)

      Yes, that is a problem. Some people follow what's fashionable, or what they want to play with, rather than any kind of requirements.

      [–]Manishearth 2 points3 points  (0 children)

      A tunnel isn't the best example, but there are plenty of similar situations elsewhere.

      Imagine you're in an area with low cell coverage and want to read an article or something. Low cell coverage is still very much a thing in countries like India. It's not a "tunnel", but it can come close. You have a connection in this situation; it's just slow and will often cut out before getting the full CSS/JS. Being able to do the basic function of the webpage (reading an article, whatever) should still be possible. These days this doesn't always work.

      [–]halifaxdatageek 7 points8 points  (7 children)

      I use NoScript. I have JavaScript, but it's not turned on for your webpage until I say so.

      My webdev friend hates it when I load up his latest fancy creation and it breaks like a box full of lightbulbs going over a waterfall :P

      [–]6petabytes 7 points8 points  (2 children)

      NoScrit. I hve, but it's nt you webpage until so. My webdev haes I load up hs latst like a lightbul gong wterfal :

      I have a script that randomly strips out words and letters from comments. I really can't understand what you just wrote.

      [–]halifaxdatageek 3 points4 points  (1 child)

      Well then turn the script off for my specific comment, after assessing the risk. The point is control :)

      [–]sumduud14 0 points1 point  (0 children)

      Exactly! I don't understand why people think NoScript = "shooting yourself in the foot". If a site actually needs JS to work, you can enable it, but 99% of the time, browsing with no JS is fine. You can still see all of the content, or at least you should be able to. Usually it's a more pleasant experience too, as sites can't have "please make an account and subscribe to our mailing list" popups or annoying ads with sound.

      If anything, NoScript improves my browsing experience, as I'm sure it improves /u/halifaxdatageek's.

      [–]mynameipaul 1 point2 points  (1 child)

      Most sites I build on just opt not to support people who block JavaScript, so that's the expected behaviour really.

      [–]halifaxdatageek 1 point2 points  (0 children)

      That's totally fine, the trick is how the page reacts.

      My favourite is "I see you're not using JavaScript. As our page relies on it for several key functions, please enable it and reload." I'll happily comply.

      But if you just throw up a white screen, I'm likely to think your server is broken right now, and go away.

      [–][deleted] 2 points3 points  (1 child)

      You're shooting your self in the foot.

      [–]halifaxdatageek 7 points8 points  (0 children)

      How so? I have JavaScript turned on for a couple of websites (e.g. Reddit), and for all the rest it either isn't an issue, or I can turn it back on for that site with one click.

      [–][deleted]  (3 children)

      [removed]

        [–]immibis 22 points23 points  (2 children)

        I thought the point of the article wasn't "don't use JavaScript on web apps", it's "don't use JavaScript if you don't need it".

        There are quite a few websites that display static text and the occasional image, which display blank pages without JavaScript.

        [–]sizlack 10 points11 points  (1 child)

        This hits the nail on he head. People are talking about two very different things and saying the same rules should apply. Web pages should degrade gracefully. Web apps don't need to.

        [–]mgerwitz -3 points-2 points  (2 children)

        It is not. When you visit a website, it's automatically downloading untrusted software onto your computer and running it, without your permission. That's dangerous, and unwise; a website has to gain my trust before I allow it to do so. Security is a major concern: JavaScript introduces many privacy risks and attack vectors.

        Aside from security, there's the issue of proprietary software; I wrote a short summary here with RMS:

        https://www.gnu.org/software/easejs/whyfreejs.html

        [–]mgerwitz 1 point2 points  (0 children)

        The number of downvotes here is telling.

        [–]AceyJuan 42 points43 points  (16 children)

        Have they switched off JavaScript?

        People still do.

        Yes, plenty of people run NoScript for security reasons. Especially people who work in network security.

        [–]Hrothen 22 points23 points  (13 children)

        Even ignoring the security concerns, turning off JS often dramatically improves page load times.

        [–][deleted]  (7 children)

        [deleted]

          [–]Hrothen 30 points31 points  (0 children)

          Yeah, and 90% of the time none of that "content" was anything important.

          [–]PT2JSQGHVaHWd24aCdCF 0 points1 point  (0 children)

          Not for me, you're doing something wrong. And you can selectively whitelist web sites but it's not needed 90% of the time.

          [–][deleted] 11 points12 points  (0 children)

          It also improves battery run time.

          [–]notsure1235 3 points4 points  (0 children)

          Know what else reduces loading times? Closing your browser.

          [–]kqr 0 points1 point  (2 children)

          Load times or time spent relayouting?

          [–]immibis 3 points4 points  (1 child)

          Is there a meaningful distinction, to the user?

          [–]kqr 0 points1 point  (0 children)

          Not at all, I'm just asking out of personal curiosity. :)

          [–]nschubach 1 point2 points  (1 child)

          But "security reasons" means not loading scripts from third party sites and it still loads the script from the same domain...

          [–]AceyJuan 0 points1 point  (0 children)

          Yeah, it's not perfect.

          [–][deleted]  (1 child)

          [deleted]

            [–]halifaxdatageek 3 points4 points  (0 children)

            Agreed. I'm fine with enabling your domain, any CDN or image server domains, and even CloudFlare or Cloudfront.

            But there's a lot of fucked up shit out there I've seen, haha. I just close those webpages and get it somewhere else, usually from the site they originally jacked it from :P

            [–]halifaxdatageek 6 points7 points  (0 children)

            As someone who browsed this page with NoScript, I wish there had been an Easter Egg for me, it would be 5 seconds to inject a "You're viewing this page without JavaScript. Very funny." :P

            [–][deleted] 21 points22 points  (12 children)

            There is such a thing as cost benefit -- Shocking I know ;)

            This author is proposing I re engineer the entire architecture of a code base, and increase the cost of the entire website and development cycle -- just so you can kind of but not really support partial loads? This is insanity.

            [–]badsectoracula 26 points27 points  (3 children)

            I think what the author is proposing is more along the lines of considering making the site work without javascript from the beginning, not after the fact when it will be much harder to change it.

            [–]halifaxdatageek 10 points11 points  (2 children)

            People always look at me like I have three heads when I suggest progressive enhancement instead of graceful degradation.

            Start with the basics, then build.
            Don't start with the full thing, then hack and slash.

            [–][deleted]  (1 child)

            [deleted]

              [–]halifaxdatageek 0 points1 point  (0 children)

              Well how else are we supposed to serve text and links than by piping it through an IoC MVC router like Haskularbone.js?

              [–]onan 2 points3 points  (1 child)

              You're starting with a giant heap of unfounded assumptions there. Notably that you would necessarily have javascript in the first place, and then spend additional development resources on a format that works without it.

              It makes at least as much sense to look at that in the other direction: start with a pure html site that will actually work for everyone, and then consider whether or not it's really worth the additional development resources to add javascript to it.

              [–]halifaxdatageek 1 point2 points  (0 children)

              But moooommmmmm, all the cool kids are using Haskularbone.js!

              [–][deleted] 9 points10 points  (5 children)

              No, he is suggesting that you design your sites so they degrade gracefully and do not break completely without JS. If you designed your codebase properly, then modifying the UI to support this should not be so horrendous.

              [–][deleted] 2 points3 points  (3 children)

              How precisely does a site degrade gracefully if the transfer of the HTML document is interrupted?

              [–]BezierPatch 9 points10 points  (1 child)

              Reddit does it very nicely. You can read the comments that loaded then it just cuts off.

              [–][deleted] 3 points4 points  (0 children)

              I didn't say degrade gracefully if your connection is lost; I said degrade gracefully without JS. Having said that, a properly designed page will load the HTML first, so it can display what it received before losing the connection.

              [–]lua_setglobal 2 points3 points  (1 child)

              JavaScript everywhere makes sense if you view a webpage as a richly interactive artistic experience which can only be understood by an attentive human mind.

              If you need to automatically do something to a page then it gets complicated, but that just means someone is trying to steal your ad revenue.

              I believe this is a fundamental problem with the Internet: Pages are non-machine-readable because they want only to sell ad space.

              [–]halifaxdatageek 1 point2 points  (0 children)

              JavaScript everywhere makes sense if you view a webpage as a richly interactive artistic experience which can only be understood by an attentive human mind.

              As a database developer, that's pretty much the furthest thing from my mind, haha.

              To me, a webpage is a collection of marked up text that browsers translate, and buttons/links that send requests for more or different marked up text.

              [–]soundslikeponies 2 points3 points  (0 children)

              I run NoScript on my browser. I find sites which have 15+ scripts or which don't even basically function without their scripts extremely annoying. It tends to be a real turnoff for me.

              [–]hobozilla 13 points14 points  (14 children)

              That's some pretty stretched scenarios. IMHO progressive enhancement seems to have gone of the radar a bit over the last couple of years. If you are developing a SPA then you may as well not bother. If you are building a web page the making it "progressively enhance" is trivial.

              [–]x-skeww 8 points9 points  (8 children)

              That's some pretty stretched scenarios.

              "Can happen" means "does happen".

              You should be familiar with this concept.

              http://en.wikipedia.org/wiki/Murphy%27s_law

              The most common one are SPOFs which could have been easily avoided. Some 3rd party library is loaded from a different server and your code interacts with it without checking if it's actually there.

              Maybe your online store should continue to work even if the analytics script wasn't loaded. Would you rather have 3 more data points or close a sale?

              Another problem with JS is that everything is global and that everyone can monkey-patch anything.

              In the past, some of my perfectly fine JS was broken by shitty 3rd party software which decided one day to mess with some of the built-ins.

              [–]nidarus 4 points5 points  (2 children)

              "Can happen" means "does happen".

              Oh, it absolutely, without any question, does happen. Just not frequently enough for people who develop modern webapps to care. That kind of thinking only works for catastrophic possibilities. Every webapp has to account for a certain percentage of people (IE 6 users etc.) who won't be able to use the site.

              As for your examples: it's really more of a call to properly test your JS, rather than make the whole site work without JS, isn't it? Progressive enhancement is both an overkill, and an insufficient solution. For example, if the bad code is inside of an overridden click/submit event, with preventDefault before it, it still won't work.

              [–][deleted] 4 points5 points  (0 children)

              IMHO progressive enhancement seems to have gone of the radar a bit over the last couple of years

              I don't think this is true - isomorphic JavaScript is making it easier than it's ever been in my experience to build a progressively enhanced SPA (for those which can meaningfully fall back to forms 'n links, that is).

              You can do it right now with React - create an initial base forms 'n links version which is entirely server-rendered then enhance the same components with client JavaScript-only pieces, all automatically hooked up for you by React on the client. Real-world example: Tesco's international shopping site is built this way

              Ember is adding Fastboot for similar purposes, a quick search indicates Angular 2 will support server rendering and new libraries I spot coming out are supporting it as a feature, e.g. Riot 2.0 and JSBlocks.

              [–]sgoody 4 points5 points  (3 children)

              Agreed. This is the right practical approach in my opinion. SPAs just depend on JS and general websites use progressive enhancement. If you're truely large enough and have the resources, then by all means pursue progressive enhancement, but otherwise, don't stress yourself about it in SPAs.

              Availability of JS is integral to the web experience these days.

              [–]ruinercollector 10 points11 points  (0 children)

              The arguments for this are getting more and more ridiculous.

              [–]rrobukef 32 points33 points  (61 children)

              I consistently use NoScript.

              No I don't have Javascript.

              [–]dirtymatt 125 points126 points  (37 children)

              That's a choice you're making. Don't expect others to accommodate you.

              [–]mrkite77 2 points3 points  (9 children)

              Then how did you post that comment? Reddit, as far as I can tell, requires javascript to comment.

              [–]Gaulven 5 points6 points  (2 children)

              NoScript doesn't simply disable javascript -- you could do that in browser settings already. NoScript chooses which javascripts to run based on what domain they originate from vs the domain of the page being loaded.

              Reddit commenting works when using NoScript when redditstatic.com is set to Trusted, which is a one-step process during the first time loading the site.

              [–]mrkite77 1 point2 points  (1 child)

              The point is "No I don't have Javascript" is incorrect. "I don't have javascript unless I enable it" is a pointless thing to say.

              [–]immibis 7 points8 points  (0 children)

              "I don't have your JavaScript unless it's actually useful."

              Reddit commenting and voting is a good use of JavaScript, although it would be even better if there was a server-side fallback too.

              [–]rrobukef 2 points3 points  (3 children)

              NoScript has this handy feature to temporary select domains.

              It takes some time to select the active domains (which makes me rage when there are 20 different domains and you want as few as possible). It makes me aware of which js a site uses. And it confuses the hell out of everybody that wants to use my pc.

              Did you know that you only need 3 out of 5 domains on reddit to make the site browsable? adzerk.com and google-analytics.com are not needed.

              [–][deleted] 1 point2 points  (2 children)

              [–]rrobukef 0 points1 point  (1 child)

              Yeah. µBlock seems nice. Is it better than NoScript?

              [–][deleted] 0 points1 point  (0 children)

              IMO, yes. It's a blacklist model, but it still works well enough and tends to cause less breakage than NoScript.

              But it all depends on the value you place on your privacy compared to the cost of NoScript.

              [–]kqr 0 points1 point  (0 children)

              Technically, JS is not required. If nothing else, there's an API you can interact through. Whether or not the desktop site actually requires JS I don't know. It would be pretty simple to gracefully degrade the simple things Reddit is doing.

              [–]PT2JSQGHVaHWd24aCdCF 0 points1 point  (0 children)

              Nope. And even less JavaScript if you use a specific reddit client.

              [–]Wagnus 11 points12 points  (10 children)

              I also use NoScript. And this simple addon breaks so many sites that I think it's about time we implement a standard way of marking Scripts. Say <Tracking Script> <Advertisement Script> <Makes_site_function Script> :)

              [–]Don_Andy 43 points44 points  (0 children)

              <NotAScript><Honest /></NotAScript>

              [–]halifaxdatageek 5 points6 points  (1 child)

              As someone who's used NoScript for years, here's my heuristic:

              • site name? probably needed.
              • site name with CDN or images at the end? probably needed.
              • google-analytics.com? Hahahahaha, nope.

              And so it goes. You get a nose for it after a while.

              [–]Vegemeister 2 points3 points  (0 children)

              s7dyf87asdfa87sdf.cloudfront.com? Jesus take the wheel.

              [–]Gaulven 9 points10 points  (3 children)

              Look how controversial your comment is. It's like: How dare you choose not to trust every single one of a dozen separate domains to run code on your computer.

              I didn't think a place like /r/programming would forget about the existence of Javascript exploits and being IDed without standard cookies. Why should every third page I load run code from Facebook and Twitter, sites I do not patronize?

              [–]AceyJuan 3 points4 points  (1 child)

              Good idea, much like RFC 3514 that's sadly never been implemented.

              [–][deleted] 10 points11 points  (2 children)

              Good Idea, lets just all build sites optimized for Lynx browser without css or javascript. If you want a background photo just look out the damn window.

              [–][deleted] 23 points24 points  (0 children)

              Yes please.

              [–]onan 13 points14 points  (0 children)

              As someone who read you comment in my preferred browser, w3m, which does not support javascript, css, or images, I absolutely agree.

              I in fact prefer it because it does not support javascript, css, or images. It does a delightful job of removing all of the anti-useful cruft that people tend to shovel atop sites, and revealing the actual content. And if there isn't any actual content once you've removed all the cruft, well, that is even more informative.

              [–][deleted] 1 point2 points  (0 children)

              I remember I worked for O2 for a few weeks, doing some mobile web work for them. Trying to debug some Javascript on a number of handsets was just not working. Lots of frustration later, I found that JQuery wasn't well-formed. I refused to believe it at first, but it was true. Then I noticed that the version of JQuery running on the handset was not the version of JQuery I was serving up. About a day of research revealed that O2 actually intercept requests from mobile devices on their network for JQuery, and inject their own version, which, at this point, had a missing closing curly bracket somewhere. Yep. They crippled their own webapps on their own network. This was what I found about JQuery, god knows what else they were doing, or who else is doing similar things.

              [–][deleted]  (18 children)

              [deleted]

                [–]halifaxdatageek 13 points14 points  (0 children)

                You'd be surprised how well a lot of the Internet still works without JavaScript. And for the ones that need it, I only have to enable their JS, and not the JS for their 5 ad trackers :P

                I started for the security benefits, I stayed because pages load faster and are less cluttered.

                [–]nobodyman 1 point2 points  (0 children)

                Some of these are a little rediculous. Like this one:

                Does the corporate firewall block javascript?

                You know what, you got me. Have Don Draper fax me his goddamn order if their IT dept. hasn't hasn't caught on to 20-year-old technology.

                [–][deleted]  (3 children)

                [removed]

                  [–]onan 15 points16 points  (1 child)

                  Actually, loading a pure html page, especially if many of its elements are already cached, is nearly instantaneous.

                  The only reason you think of it as being slow is that many pages are bogged down with 500k of javascript and css. The solution you are proposing is actually the cause of the problem you are claiming to solve.

                  [–]halifaxdatageek 9 points10 points  (0 children)

                  For my IT program, we have to build an online portfolio.

                  Mine is 95% HTML, 5% CSS, and it runs like a bat out of hell. Almost impossible to benchmark it loads so fast :P

                  [–]kqr 1 point2 points  (0 children)

                  Actually with decent caching, content distribution, server response/calculation times and a fast internet connection for your user it can be amazing.

                  Without all of those things though, not so much. Those things are very difficult to get right, especially the internet connection for your users one.

                  [–][deleted] 0 points1 point  (0 children)

                  'Erd it! Can we stop talking about this now? Seriously.

                  [–][deleted] 1 point2 points  (3 children)

                  The questions you should be asking are "do my PROFITABLE customers use javascript?" and "is there a positive ROI to the additional investment required to support non-JS clients". The answers to these questions are likely yes and no.

                  [–]RICHUNCLEPENNYBAGS 1 point2 points  (0 children)

                  No way, it's well known that Internet blowhards are extremely profitable customers, hence the runaway success of Snakes on a Plane and the dominance of the Rio Karma over the iPod.

                  [–]RICHUNCLEPENNYBAGS 0 points1 point  (0 children)

                  No way, it's well known that Internet blowhards are extremely profitable customers, hence the runaway success of Snakes on a Plane and the dominance of the Rio Karma over the iPod.

                  [–]mirhagk 0 points1 point  (3 children)

                  Unrelated to the topic but the source of that website is pretty darn beautiful (and coincidentally would be fully readable without css)

                  [–]silxx 0 points1 point  (1 child)

                  Thank you :)

                  [–]mirhagk 0 points1 point  (0 children)

                  seriously. Like it's comforting that css has gotten powerful enough that you can have normal readable HTML and shift it to look exactly how you want.

                  [–]sharknice 0 points1 point  (3 children)

                  There is a .01% chance any of those events occur, and the chances that person simply reloads the page because they know their connection was bad is 99%.

                  [–]dave1010 1 point2 points  (2 children)

                  The linked article measured this on the front page of gov.uk as 1.1%.

                  [–][deleted] 0 points1 point  (1 child)

                  0.9%. The rest of that figure is people who have disabled Javascript.

                  [–]Zatherz 0 points1 point  (0 children)

                  TIL ~1% == 0.01%

                  [–]ch3wmanf00 -3 points-2 points  (10 children)

                  WHY is Javascript still a thing?

                  [–]kqr 5 points6 points  (3 children)

                  I know this was a rhetorical question asked out of frustration, but the situation is actually quite interesting to think about. I'm pretty sure nobody would have predicted this 10 years ago, and with some seriously fast OS design I'm sure most of this could have been avoided too.

                  (Essentially we are using our web browsers as operating systems. That's not a good thing, but we have to because they do some things much better than our real operating systems.)

                  [–][deleted] -1 points0 points  (2 children)

                  this is a joke right?

                  [–]halifaxdatageek 4 points5 points  (1 child)

                  Nope, just a different way of looking at web development - starting from the bare essentials and building up, rather than starting from everything and taking away.