• @reddig33@lemmy.world
    link
    fedilink
    2061 year ago

    It’s time to get rid of user-agent strings that declare anything other than desktop, mobile, or html version.

    • bigbluealien
      link
      fedilink
      1321 year ago

      99% of sites only need to know your screen aspect ratio and maybe available input devices, can’t think of a good reason to share anything else

      • Julian
        link
        fedilink
        English
        741 year ago

        Knowing OS is useful for download links.

        • capital
          link
          fedilink
          1041 year ago

          I’d be down for an ask to allow that info. Sort of like how sites request access to cam and mic.

          • andrew_bidlaw
            link
            fedilink
            241 year ago

            Before Windows 10, NVidia and others had this button Detect what thing suits me best on their websites. Now many of them just look it up in one’s fingerprint without asking.

        • @datelmd5sum@lemmy.world
          link
          fedilink
          28
          edit-2
          1 year ago

          Microsoft hides their links if they see you run linux. So you need to manually set your OS in the browser settings to see the download link. Very convenient.

        • KptnAutismus
          link
          fedilink
          21 year ago

          having 3 different ones solves that issue though? the user can figure out whic OS they’re running pretty well imo.

          • @Godort@lemm.ee
            link
            fedilink
            191 year ago

            I can tell you’ve never had to do T1 tech support before.

            It’s kind of staggering just how illiterate users can be.

              • @Strykker@programming.dev
                link
                fedilink
                31 year ago

                When you are competing for customers not providing the illiterate morons of the world a simple UI leads to them going to your competitor which does.

                And unfortunately those illiterate morons outnumber every one else by a significant chunk.

          • @FlickOfTheBean@lemmy.world
            link
            fedilink
            7
            edit-2
            1 year ago

            That’s a fair perspective, but most people strive for as few clicks between users and their targets as possible. Forcing a user to become semi-tech-competent by sending them on a fetch quest to figure out their os, while not an inherently bad thing, does work against this overall goal…

            Idk, it’s like education vs service industry goal setting, that’s all I’m trying to get at here lol

            Edit: plus, there’s no guarantee that it will remain just the big 3 for forever. There was a time before Linux, maybe we’ll see a time after windows… Unlikely, but one can dream lol

      • @cardboardchris@lemmings.world
        link
        fedilink
        English
        01 year ago

        as a front end web developer, I’ve found it useful to know what user agent is requesting a page in order to load conditional styling. For example, to compensate for Safari’s god-awful outlines support (pre-version 16).

    • @drathvedro@lemm.ee
      link
      fedilink
      381 year ago

      The biggest offender is, surprisingly, cloudflare. They will straight up refuse to serve you any site if your user agent is not one of the mainstream ones. It’s not even “find the traffic light to prove you’re human”, but a page basically saying “fuck you, go away”.

        • @lseif@sopuli.xyz
          link
          fedilink
          341 year ago

          what is more likely to be a bot? a unique and trackable useragent for a semi-niche browser engine, or a vanilla Chromium+Windows which half of everyone uses ?

            • @lseif@sopuli.xyz
              link
              fedilink
              51 year ago

              what about malicious/unwanted bots? if cloudflare is trying to block bots, the bots will want to not look like bots. the easiest way to do that is to use a common user agent.

        • Karyoplasma
          link
          fedilink
          61 year ago

          User agent identifier is not useful to block bots. You can literally set it to whatever you like.

    • vlad
      link
      fedilink
      35
      edit-2
      1 year ago

      If I was a Firefox dev I’d start looking into building in user agent spoofing right into the browser.

      It already opens Facebook pages in a special isolated tab. They could have apple.com open in it’s own special “safari” tab. I wonder if there’s anything preventing them from doing that. I guess it could be bad because it would make their market share appear even smaller.

    • @thehatfox@lemmy.world
      link
      fedilink
      English
      121 year ago

      User agents are not unfortunately not the only way to identify a browser, there are other ways to fingerprint a platform.

    • @_number8_@lemmy.world
      link
      fedilink
      41 year ago

      i don’t want them knowing desktop or mobile either. we all have good enough phones now to handle a proper website on mobile – mobile sites are fucking garbage.

      steve jobs during the original iphone keynote did a whole segment on how you could load the full rich widescreen NYT website and zoom in and out and look at that rich text rendering. apps are ass, mobile sites are ass.