News for hackers. Stuff that matters.
Re:User-Agent Reduction by fiedzia on Friday November 04, 2022 @01:50PM (#33470948)
> When I got started with the web 15 years ago, it was advised everywhere not to rely on user agent strings and rely on feature detection instead,

Which is reasonable advice for a code running in a browser, not for a proxy/CDN (and you don't want proxy inserting it's own js).

Re:User-Agent Reduction by jraph on Friday November 04, 2022 @05:53PM (#33474382)
UA detection in the backend has also been frawned upon, it's not limited to code running in the browser.

And a proxy/CDN should not be doing something else than proxying requests and serving files.

Workarounds are fine, but that's what they are.

Re:User-Agent Reduction by fiedzia on Saturday November 05, 2022 @06:57PM (#33486834)
To get it working client-side you'd need to change the app, while the whole premise here is that you don't have to (and often can't). One point tracking what UA string are here and what they need is better than expecting every app author to handle this properly.