Ask HN: Do you browse the web with JavaScript disabled?
We have two versions of our product: (1) SPA-like experience and (2) <14kb, <200 lines of css, <30 lines of JavaScript.
We are debating whether to maintain the LiteMode (the SPA is actually SSR, we've decoupled our MVC well, so maintaining the LiteMode is only 20% more work). This got me thinking. What if we made the LiteMode entirely text-only, maybe with some optional CSS. No JavaScript.
I tested HN and it degrades fairly well. Some things such as the comment toggle doesn't work. There's actually a HTML <details> element nowadays provides this toggability out of the box without JavaScript. At any rate, is it worth voiding the LiteMode of any and all JavaScript? Do people browse the internet with JavaScript disabled?
70 comments
[ 4.7 ms ] story [ 104 ms ] threadI enable JavaScript if I know who is running a site and where their company is located and/or if I have a binding contract with them. Even then I use disposable containers [1] for those sites and run bleachbit before/after visiting such sites and use sqlite3 to clear visit_time from places.sqlite. I launch Firefox from firejail [2] with AppArmor enforcement.
[1] - https://addons.mozilla.org/en-US/firefox/addon/temporary-con...
[2] - https://github.com/netblue30/firejail
My picture of the ideal internet is surely boring. This is probably an overshooting response to being absolutely desensitized by the current internet
I recently gave it a shot on an old, sluggish iPad. I was blown away at how many websites just…don’t work, or only partially render.
It’s part of the modern web stack, and catering to those who disable JS is like catering to those who run FreeBSD - they exist, and they’re smart people, but their numbers are so small that catering to them makes no sense from a business perspective (unless they are a target demo).
With that said, removing the interpreted JavaScript runtime from your site is a laudable goal and things should be smoother, faster, and lighter.
To be honest, I feel like there is a user-friendlier version of NoScript that should make us feel mostly unhindered. I don't know the consequences of always allowing the sites domain, though. Many trackers have their own domains.
Is there an established AV product that has this feature?
Right now I am slowly and painfully building my own whitelist because everything is blocked by default and I allow as needed.
However much you would pay, advertisers would pay more.
It seems unlikely that you the value you assign to a whitelist would be more than the value advertisers assign to being seen... by all NoScript users. You would be out-bid by corruption.
For the small set of sites that are actually important to me, I selectively allow the minimum number of scripts required to make the site function well enough to do what I need it to do.
Between the browser security issues & resource usage, anti-improved speed & UX, etc. - enabling JS is mostly not worth it to me.
(Yes, doing this kinda rules out a fair number of web sites for me. But with ~10,000x more content on the web than I could view in my remaining mortal years anyway...ruling out a lot of sites is a feature, not a bug.)
It used to work fine years ago, and some people say that's not normal behaviour, but I've stuck with it for a few versions and got sick of it.
Honestly, just an ad blocker is enough.
That said, we're normally undercounted because JS itself is used to do the counting so I guess this balances things out.
If a site doesn't display without JS then my first move is to toggle off CSS and see if I can read it. If I can't I check source to see if I can read it. If I can't I close the tab.
What I really want is a CPU budget for websites, you can run 2M operations or something, and then you're put to sleep.
I usually leave, and if I can't find what I need somewhere else, I may come back and fiddle either with CSS or even enable JS during that session only.
Rarely does a website make it to the list were it's always enabled. This is true for personal and work.
Or you don't disable JS because of the majority?
"I don't [speak] for the silent majority"
I am assuming because this is a standard turn of phrase
But reading this thread sparked a thought: could browsers handle server side handling (e.g. submit buttons) in the way React and alike frameworks work: instead of rebuilding the page from scratch diff the current DOM and the DOM for the new page and apply the diff in a smooth transition with animations?
For example entire Kagi Search runs with no JavaScript enabled in the browser. We see JavaScript as a way to enhance client experience, not create it. So bascially Kagi is in 'lite' mode by default.
Some people do (and you'll get a disproportionate number of them here), but unless yours is a niche product particularly aimed at such people, they're an insignificant number in comparison to the billions who've never even heard of such a thing.
I have it enabled for certain sites I frequently use, otherwise it's disabled by default.
It makes browsing much smoother IMO.
Maybe a poll would be more suitable for this kind of a question though, and I guess there must be some already collected statistics around.
Edit: Speaking of "LiteMode" and accessibility in general, I think it's also nice to not go too heavy on CSS or assumptions about fonts. I used to override CSS (browsed quite a lot in the dark, so enforced a light-on-dark theme), to use textual browsers, and still disabling web fonts and setting a minimal font size, which occasionally leads to slightly messed up markup and related issues. Though those sorts of things tend to be covered in various accessibility guidelines.
That 20% more work could be put in to improving the main product instead.
What do I actually need javascript for? It actually is really easy to do without for the majority of what I use the web for anyway. YMMV.
I use uBO too with FF but I found that disabling JS globally is too annoying for many sites that are not documents. I use Twitter and Reddit (and not their alternatives you listed) because I have accounts that I want to use to comment on things for example.
Also, it's a positive feedback loop for your web paranoia... seeing all the crap that gets loaded.
You should make a version without JavaScripts and minimal (if at all) CSS.
Occasionally some things are going to require JavaScripts; in the case that they really do, you should ensure that documentation, links with other protocols/file-formats (if any), etc, should be visible and accessible even without JavaScripts, too.