Edit: Replies to this thread indicate this is not fully correct as it exists on all browsers; and is likely an ad thing.

  • off_brand_@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Yeah, but some amount of the time is just easier to rely on the user agent. Why bother with the fancy logic when user agent spoofing, adblocking Firefox users is a % of a % of a %?

    • 𝙣𝙪𝙠𝙚@yah.lol
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      I tend to agree. I think there’s little need as a developer to go that extra mile for accurate browser detection without UA unless it’s for fingerprinting. Most feature sets are supported and where it isn’t you have a polyfil or whatever shim to make it work. So in the case of fingerprinting you try not to rely fully on anything the user can alter easily.