a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by Devac
Devac  ·  2718 days ago  ·  link  ·    ·  parent  ·  post: You might not need javascript

Not really, at least as far as I bothered to go through the scripts. The JavaScript on (and off) the site are for stuff like making indentation in code samples, highlighting (colouring) syntax and similar cosmetic stuff. While a bit ironical since the page is about not needing it, it's much more expedient when you have a lot of stuff to mark (tedious when done by hand, imagine adding stuff like <span id="keyword"></span> in literally every line of the examples). CSS features are cool to use on some bits and pieces, but JavaScript can automate a lot of the tedious work. On the other hand, JavaScript often is just purely tedious to work with so you can't ever be happy anyway. ;)

I think that it's used not because of some hypocrisy but because not all CSS3 features have been added to all modern browsers. Also bare in mind that no-script block all scripts, often times if you don't host your website from literally your very own home server, the hosting service will add some of their scripts regardless of your wishes for whatever reason. Usually benign in purpose (tracking if people click ads, reporting back what kind of browser you use, how long have you spent on the page) but not something to dismiss in general.