News for hackers. Stuff that matters.
Re:Web of Documents (2019) by buzzert on Thursday January 23, 2020 @01:14AM (#22125270)
Can you give an example where JavaScript would “enhance the presentation of the document”?

You mean like scroll-jacking? Some script that prevents me from copying and pasting? Something that loads images later for some reason and shifts everything around?

I don’t mean to be facetious, I am genuinely curious what you mean. In my experience JS has been nothing but a detriment (for reading documents, that is), and I have it disabled on all of my computers.

Re:Web of Documents (2019) by cetra3 on Thursday January 23, 2020 @01:30AM (#22125342)
This is a good example where I think JS adds substantially but is still document-y: https://www.redblobgames.com/grids/hexagons/
Re:Web of Documents (2019) by graphpapa on Thursday January 23, 2020 @04:13AM (#22126053)
This is amazing
Re:Web of Documents (2019) by acidburnNSA on Thursday January 23, 2020 @01:28AM (#22125331)
MathJax allows pretty good equations to be rendered in LaTeX format, which I like for scientific write-ups. Of course my static site generator could probably prr-process those as images with alt text.
Re:Web of Documents (2019) by rhn_mk1 on Thursday January 23, 2020 @04:49AM (#22126207)
There's no need for JavaScript to display equations since MathML was introduced.
Re:Web of Documents (2019) by Tomte on Thursday January 23, 2020 @05:53AM (#22126477)
Re:Web of Documents (2019) by edflsafoiewq on Thursday January 23, 2020 @01:26AM (#22125323)
MathJax/KaTeX.