This is everyday for me. Just whitelist the few sites that actually need it and most of the rest are fine. This should be the default. What do I care if some images don't load or CSS is slightly off? The main content is there. For sites that won't do anything without JS, I can consider whether I want to use them or not. Mostly not. Fuck other people running code unnecessarily, without my permission, on my computer. E…
> Fuck other people running code unnecessarily, without my permission, on my computer. You gave them permission. Actually, you asked them to do it when you sent that GET request to their servers that returned a bunch of HTML that included script tags.
A day without JavaScript
291–300 of 412 posts
Re: A day without JavaScript
#292Earlier quoted context omitted.
Note: The color-coding is likely to change in future Chrome releases. I am a little surprised to find such an issue in Google software as it is a topic for first semester CS undergraduates ;-)
Wait what? CS students learn color about color blindness now? I really wasn't in the good classes!
Re: A day without JavaScript
#293Earlier quoted context omitted.
I fully agree. Do you stop to think flash/action script was "obsolete" because all this? and now we have the exact same problems...
flash was obsoleted because 1) iphone didn't support it, 2) iphone didn't support it, 3) iphone didn't support it, and 4) JS replaced the non-DRM use cases (and now even replaced that).
Plus it wasn't very good on mobile, even when it was supported (ie - on Android it was still bad and never got out of beta anyhow)
Re: A day without JavaScript
#294Re: A day without JavaScript
#295Earlier quoted context omitted.
import ReactDOM; const HowQuestion = (text) => { return ( How {text}? ); } const Comment = () => { const text = \ "the year justifies using Turing-complete programs" "to express what could be a simple static text document"; return ; }; const el = document.querySelector("#14507550 .comment"); ReactDOM.render( , el);
thank you for the reminder that it is current year, all too easy to forget!
Re: A day without JavaScript
#296One thing to consider is that at larger companies, we already have a difficult enough time testing all of our site with JavaScript enabled. Netflix building a version that works without JavaScript is like asking them to build a second website, especially from a QA perspective. When you look at your users and find that .5% of them are not running JavaScript, how do you justify spending the money for that few of people…
The NoScript extension is the 5th most downloaded extension for Firefox ( https://addons.mozilla.org/en-US/firefox/extensions/?sort=us... ). If you want to show a blank screen or a broken website to those users, that's up to you. Some of them may really want to see your site, so they might try to figure out which of the twenty domains they should enable, and which of the thirty they should enable after that one doesn…
Re: A day without JavaScript
#297Earlier quoted context omitted.
I'd be very interested to see some proper analysis of the difference in speed between HTML/CSS vs just JS, it seems obvious to me that the former would be much faster but then again I know how often "obvious" things are wrong.
the list of sites on https://hnpwa.com/ vs this https://news.ycombinator.com/
Re: A day without JavaScript
#298Earlier quoted context omitted.
flash was obsoleted because 1) iphone didn't support it, 2) iphone didn't support it, 3) iphone didn't support it, and 4) JS replaced the non-DRM use cases (and now even replaced that).
Well that and Flash was a massive vector of security problems. Plus it wasn't very good on mobile, even when it was supported (ie - on Android it was still bad and never got out of beta anyhow)
Re: A day without JavaScript
#299Earlier quoted context omitted.
The NoScript extension is the 5th most downloaded extension for Firefox ( https://addons.mozilla.org/en-US/firefox/extensions/?sort=us... ). If you want to show a blank screen or a broken website to those users, that's up to you. Some of them may really want to see your site, so they might try to figure out which of the twenty domains they should enable, and which of the thirty they should enable after that one doesn…
Yes, and Firefox is the 3rd of 4th most used browser at less than 10% (which is bad). So the subset of actual Firefox users that use NoScript is absolutely not worth supporting.
Re: A day without JavaScript
#300Earlier quoted context omitted.
> Fuck other people running code unnecessarily, without my permission, on my computer. You gave them permission. Actually, you asked them to do it when you sent that GET request to their servers that returned a bunch of HTML that included script tags.
Not really. They gave permission for the initial GET request for the HTML. The rest of the requests were inserted into the document by the programmer and executed by the browser. The browser assumed those links should be fetched automatically and executed. :)
If you dislike HTML, then don't use it. Use another format that serves your text-only needs. Gopher is a possibility, just don't click on any HTML files if you're using a web browser though.