• dan@upvote.au
    link
    fedilink
    English
    arrow-up
    19
    ·
    9 months ago

    Checking the browser almost never makes sense these days.

    Sites should be using feature detection instead. Rather than checking the browser version, instead check if the browser supports the features they require.

    • herrvogel@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      It’s more practical though, from a more general UX perspective where the U is often a non technical person. If you throw a “ur browser doesn’t support webserial(or whatever)” message up on the screen, you’re just gonna confuse tons of users who won’t even know what the hell you’re talking about. Easier (for everyone) to tell them to just use what you know works.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        9 months ago

        The message doesn’t have to be technical and can still mention browsers - just say “your browser isn’t compatible with this site. Try updating it or switch to Chrome or Edge”. The idea is just that if someone with a non-Chrome and non-Edge browser tries to load the page and it supports the feature, they won’t see the message.