8 ms·
I prefer making all my sites work just as well without JavaScript as with it. This is cool though if you need a quick check to see if JavaScript is enabled.
by Zebfross 6y ago
I prefer making all my sites work just as well without JavaScript as with it. This is cool though if you need a quick check to see if JavaScript is enabled.
- ljm 6y agoOn my own site, any JS flourish has a noscript fallback. There's nothing major there in the first place, but it makes me happy to do that. The other rule is that the JS is all hand-written. No frameworks or other dependencies.
- darepublic 6y agoI've also been tinkering more with no framework js, although it's by way of typescript and webpack. And it's really fun, I think there are a lot of cases where you can just opt out of react or bootstrap if you know what you're doing
- MrStonedOne 6y agonoscript is sadly, not perfect, but works if you stay 1st party. A great way to make your browsing better is to disable 3rd party scripts by default and whitelist when needed, but <noscript> fails to work in those conditions.
- stan_rogers 6y agoYou're thinking about Noscript the plugin. <noscript> is also an HTML tag that can contain content for use when the browser isn't running JS, but which would yield a cleaner page if not present when JS is running.
- MrStonedOne 6y agono, im thinking about noscript, the html tag. if you disable 3rd party javascript, (using ublock origin or others) noscript tags don't trigger because scripting is still technically turned on and noscript tags aren't assigned to the script they compliment so the browser has no way of knowing which ones to run or not run in the 3rd party situation.
- deleted 6y ago[deleted]
- syx 6y agoIn which occasion a software ootb like a browser won’t have JavaScript enabled? I’m genuinely curious, the only time I saw something like this was using the distro Kali having no script in Firefox.
- slondr 6y agoTor used to have noscript set to the highest level, but in recent years they've changed that.
- mhh__ 6y agoI sometimes read HN in a text web-browser, but ultimately most people will have JavaScript enabled. It's worth saying that most people don't even know what Javascript is, full stop. Weirdly enough my now mother does, but my younger sister doesn't - we now have a generation that has effectively grown-up post-smartphone, which is fascinating to me.
- forgotmypw17 6y agolynx links w3m that's just off the top of my head.
- userbinator 6y agoDillo and Netsurf won't have JS too, and they are graphical browsers.
- every 6y agoYeah, my first instinct was lynx. Works fine...
- LaundroMat 6y agoI've found alpine.js very suitable for this.