alt text

Caption

Web dev: What browser is visiting the page?

User agent string:

A screenshot of a browser. The URL bar reads firefox://settings, a button on the URL bar is labelled Netscape, a popup from the button reads: “You’re viewing a secure Opera page”, and the web page title reads “Chrome settings”.

  • dan@upvote.au
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    That’s exactly what you’re supposed to do with the modern web, via feature detection and client hints.

    The user agent in Chrome (and I think Firefox too) is “frozen” now, meaning it no longer receives any major updates.