zlacker

[parent] [thread] 12 comments
1. Zebfro+(OP)[view] [source] 2020-11-28 21:00:35
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.
replies(3): >>ljm+P4 >>syx+U4 >>Laundr+Ub
2. ljm+P4[view] [source] 2020-11-28 21:40:56
>>Zebfro+(OP)
On 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.

replies(2): >>darepu+18 >>MrSton+Va
3. syx+U4[view] [source] 2020-11-28 21:41:29
>>Zebfro+(OP)
In 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.
replies(3): >>slondr+77 >>mhh__+Qj >>forgot+lk
◧◩
4. slondr+77[view] [source] [discussion] 2020-11-28 22:03:49
>>syx+U4
Tor used to have noscript set to the highest level, but in recent years they've changed that.
◧◩
5. darepu+18[view] [source] [discussion] 2020-11-28 22:13:35
>>ljm+P4
I'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
◧◩
6. MrSton+Va[view] [source] [discussion] 2020-11-28 22:41:23
>>ljm+P4
noscript 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.

replies(1): >>stan_r+vs
7. Laundr+Ub[view] [source] 2020-11-28 22:50:48
>>Zebfro+(OP)
I've found alpine.js very suitable for this.
◧◩
8. mhh__+Qj[view] [source] [discussion] 2020-11-29 00:06:57
>>syx+U4
I 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.

◧◩
9. forgot+lk[view] [source] [discussion] 2020-11-29 00:14:00
>>syx+U4
lynx

links

w3m

that's just off the top of my head.

replies(2): >>userbi+ml >>every+Al
◧◩◪
10. userbi+ml[view] [source] [discussion] 2020-11-29 00:25:26
>>forgot+lk
Dillo and Netsurf won't have JS too, and they are graphical browsers.
◧◩◪
11. every+Al[view] [source] [discussion] 2020-11-29 00:27:33
>>forgot+lk
Yeah, my first instinct was lynx. Works fine...
◧◩◪
12. stan_r+vs[view] [source] [discussion] 2020-11-29 01:48:29
>>MrSton+Va
You'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.
replies(1): >>MrSton+CV
◧◩◪◨
13. MrSton+CV[view] [source] [discussion] 2020-11-29 09:40:35
>>stan_r+vs
no, 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.

[go to top]