News for hackers. Stuff that matters.
Re:No CSS Club – because no JavaScript was not hardcore enough by jonatron on Sunday July 16, 2023 @07:21AM (#36745722)
If you serve this with:

    Content-Type: text/plain; charset=utf-8
You can actually have no HTML at all
Re:No CSS Club – because no JavaScript was not hardcore enough by edent on Sunday July 16, 2023 @08:24AM (#36746187)
I did try that, but a few mobile browsers seemed to choke without at least something vaguely HTMLish.
Re:No CSS Club – because no JavaScript was not hardcore enough by devoutsalsa on Sunday July 16, 2023 @08:19PM (#36752744)
I prefer “application/json”. The user can write their own interface.
Re:No CSS Club – because no JavaScript was not hardcore enough by Lockal on Monday July 17, 2023 @02:47AM (#36754892)
What happens when server responds with text/plain and css?

https://blog.openreplay.com/incorporating-css-to-a-page-via-... (no time to check, only works in Firefox, but that's one idea on how to trick the system)

Upd: checked and it works (e. g. add `Link: <https://unpkg.com/chota@latest>;rel=stylesheet;media=all`)