• lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      8 hours ago

      it’s even stupider, it’s more like why there is no windows 9 because of programs doing stuff like if os.name.startswith("windows 9") then print("this program is not compatible with windows 98") end

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 hours ago

        Yup. There was a time when Mozilla was somewhat dominant, so browsers unlocked features based on the browser being Mozilla (as opposed to Internet Explorer).

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          6 hours ago

          well if you want to get into it, i think the last browser that didn’t have mozilla in the useragent was internet explorer, which had “trident/9.0” or something. every other browser on the market is based on the old KDE browser Konqueror, which had “khtml, like gecko” in it. when that didn’t work they just added “mozilla” to it. then apple took that codebase and added “safari”, chrome took that codebase and added “chrome”, etc etc etc. compatibility problems just kept compounding on every browser based on khtml until we got to the point where microsoft edge’s current user agent is Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.

          even firefox has had to give in to this: my useragent is Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0 even though the version of gecko in firefox 140 is v125, from 2022.