Comment on Anubis, The Opensource Defender Against AI Bots: I fight bots in my free time
morbidcactus@lemmy.ca 1 week agoAfaik, almost every browser uses “Mozilla/5.0” as part of the user agent, Mozilla mentions it as well in developer docs about User agents, it’s a historical compatibility thing apparently.
Allero@lemmy.today 1 week ago
Interesting, thanks!
Guess it’s the same kinda thing as amd64 on Intel lol
lime@feddit.nu 1 week ago
it’s even stupider, it’s more like why there is no windows 9 (because of 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 1 week 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 1 week 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.
Allero@lemmy.today 1 week ago
Lol