News for hackers. Stuff that matters.
Re:Conditional JavaScript: Only download when it is appropriate by umaar on Thursday December 17, 2020 @08:31PM (#25462766)
OP here, yeah the amount of website variations this could lead to (and don't get me started with CSS media features!).

I don't see this strategy being adopted by most websites, but I reckon it's a technique worth knowing about. I've worked on WebGL visualisations where the device RAM played a big role on performance for example.

There are no comments on this comment yet.