this post was submitted on 21 Nov 2023
379 points (89.6% liked)
Firefox
17875 readers
6 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Browser detection is rarely done through User Agent lookup anymore. Nowadays we determine browser through feature detection.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#avoiding_user_agent_detection
How so?
Oh wow. This is a really bad script
Course it is, GPT made it.
.