frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Why do all browsers' user agents start with "Mozilla/"? (2008)

https://stackoverflow.com/questions/1114254/why-do-all-browsers-user-agents-start-with-mozilla
56•nan60•2h ago

Comments

gnabgib•2h ago
(2008)

The post popular answer includes: History of the browser user-agent string related discussions:

2022 (87 points, 20 comments) https://news.ycombinator.com/item?id=31246438

2019 (62 points, 22 comments) https://news.ycombinator.com/item?id=21085388

2018 (558 points, 168 comments) https://news.ycombinator.com/item?id=16525559

2013 (100 points, 32 comments) https://news.ycombinator.com/item?id=6674812

shmerl•2h ago
Really weird and convoluted reasons for it. A better question is why it was never fixed / renamed to proper names.
ronsor•1h ago
Backwards compatibility at all costs
ExoticPearTree•1h ago
Probably because now if you come with a different User-Agent you might get blocked by a WAF or a load balancer. Too much history to just forget overnight.
madeofpalk•1h ago
They did in the new UA api https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
fredoralive•1h ago
To avoid breaking stuff basically, easier to have ugly UA strings than persuade every site that does weird UA parsing to fix themselves.

The main exception to this was Opera back when it had its own engine, which did use Opera at the start of its fairly clean default UA string. Then when they reached version 10 they had to make the primary version 9 with a second real version later in the string as sites couldn’t cope with two digit version numbers…

imiric•38m ago
I miss Opera. It's a damn shame that it was so badly mismanaged, and ultimately sold off to investors, which further buried it into irrelevance. It now survives on gaming-oriented gimmicks and shady promotions. I hear that Vivaldi is supposed to be a continuation of it, but from what I've seen it's just another Chromium clone with a closed-source UI, without any distinguishing features.

Opera in the late 90s / early 2000s was excellent. It was lightweight and snappy. Among the first to support tabs. The Presto engine was the most performant on machines of the era. The trialware/adware was annoying, but the browser was solid. The built-in email client was decent as well.

In 2009 they launched a very interesting web server / sharing feature with Opera Unite, which unfortunately didn't gain traction.

Opera Mini was the best mobile browser for a few years as well, before smartphones took off.

FirmwareBurner•30m ago
>It's a damn shame that it was so badly mismanaged

I think even the best management in the world wouldn't have helped it survive the onslaught of Google's Chrome and their massive war chest in that time. It's like a team of girl scouts versus the NBA.

fredoralive•8m ago
Amen brother.

My personal big thing was the ability to "minimise" / deque tabs, a legacy of the really early version of tabs that were basically based around the concept of the Windows task bar (and MDI), not tabs. I'm not a Firefox user as it's the least worst option, and there used to be Firefox extensions that mostly (but not quite) did it, but Mozilla naturally broke it as part of their general view that making Firefox worse will somehow make it popular[1].

Also mouse gestures. Again, you can kinda do it with Firefox, but random stuff like the home shortcut screen don't support it nowadays because???

Also, I want a status bar. I don't care if it's old fashioned, but I want one.

Sorry if this is becoming a Mozilla / Firefox gripe fest.

[1] I don't think Opera had a nice preview view for RSS feeds, but Firefox did. Then they broke it for random reasons? Gee, raw XML is so much better than a sensible view, thank you Mozilla!

JdeBP•1h ago
Possibly, but it wouldn't be the first time that people took a field that was supposed to be an originator name and made it something else entirely.

There's a field in the Volume Boot Record of disc volumes, in the PC compatible world, that was supposed to be the name of the OEM whose software formatted the volume. It was (and is) a few bytes of identifying human-readable text. Operating systems ended up doing string comparisons and parsing numbers, and breaking in odd ways, including not even recognizing their own handiwork, when operating system vendors did not use the name of the first vendor.

* https://jdebp.uk/FGA/volume-boot-block-oem-name-field.html

It has probably been long enough since MS-DOS 3.3 and in turn the Browser Wars that someone is right now failing to learn from history and making this mistake anew, yet again, somewhere.

wolrah•37m ago
> A better question is why it was never fixed / renamed to proper names.

Because the reason it is the way it is in the first place is compatibility with sites that are doing things objectively wrong already, which makes it really hard to get them to change.

The problem is that poorly designed systems limit access or disable features based on a user-agent allowlist, which is never the right answer. There is no right way to do it because it's always wrong, but people choose to do it anyways.

I'm personally a fan of treating broken sites as broken, but I understand that realistically any "alternative" browser has to deal with all the broken sites designed for whatever came before it because otherwise most normal users won't consider switching.

If I were made King of the Internet for a day and able to enforce any changes I wanted on everyone, all the major browsers would have to change their user-agent string to something totally unique on the same day, intentionally breaking any sites that are doing it wrong for everyone so the broken sites are forced to fix their own nonsense. That'd come maybe two or three decrees down the line from "All ISPs are required to provide a globally routable IPv6 block in accordance with RFC 6177, providing only CGN IPv4 is a capital offense".

impure•1h ago
Mozilla should start charging a licensing fee for starting your user agent with Mozilla/ Money problems solved!
wvbdmp•26m ago
In a way it seems like a classic trademark violation, tricking people (or their servers) into thinking your product is someone else’s. I wonder if there are actual agreements about this these days.
rileymat2•13m ago
The mark in this usage has gone unprotected for so long, I doubt there would be any success with that.

Also, I doubt tricking servers would indicate creating consumer confusion with the trademark.

im3w1l•5m ago
Adversarial compatibility is pretty nice though, I don't think we should do away with it.
RainyDayTmrw•1h ago
In a similar way: Why was there no Windows 9? [1]

[1]: https://www.pcworld.com/article/435584/why-windows-10-isnt-n...

uxjw•27m ago
TL;DR: Some code looking for Windows 95 or 98 only looked for "Windows 9" to match both, and would have matched Windows 9.

Now Apple has the year in the OS version we'll have people wondering in a few years what happened to iOS 19-25.

DecentShoes•19m ago
This is false, Windows reports its version as a series of integers, not as a string, and if there was any code that did you could easily work around it by writing "Windows Nine" or "Windows v9" or whatever.
danielheath•15m ago
I worked on a codebase that had this bug, so I’m not sure where you’re getting “this is false” from.

We sold software that was installed long-term at customer sites, and they weren’t going to update it until they needed to, so the bug persisted in production well after we fixed it.

DecentShoes•16m ago
This is a straight up lie and it's very obvious.

Windows reports its version numbers as a series of integers or by bools from helper functions, not as a string, and if there was any code that did you could easily work around it by having it report "Windows Nine" or "Windows v9" or whatever.

https://learn.microsoft.com/en-us/windows/win32/api/sysinfoa...

https://learn.microsoft.com/en-us/windows/win32/sysinfo/vers...

technothrasher•1h ago
Not all browsers (e.g. "Lynx/2.9.0dev.12 libwww-FM/2.1") :)
nreilly•1h ago
Maybe we should move to something like termcap for browsers? /s
anamexis•11m ago
Has anyone tried running a generic User-Agent on a standard modern browser? (By "generic", I mean one that does away with this whole compatibility dance.) I'm curious how much would break or degrade.
userbinator•8m ago
Unfortunately, everything that does fingerprinting/"bot detection" will get triggered.
usr1106•4m ago
Ironically Cloudflare blocks the real Mozilla derived browser on this Linux phone, so I can't access SO anymore. (Turnstile was broken a long time. It finally got fixed half a year ago. Now I note it does not even come up any more, just a static message that I should throw away my phone^W^W^W^W upgrade my browser. No idea whether Cloudflare or SO is to blame.)

CS 325: CXML Parser

https://courses.cs.northwestern.edu/325/readings/cxml.php
1•susam•33s ago•0 comments

Why Meta and Apple want Perplexity AI, even if it's just a glorified chatbot

https://gizmodo.com/the-14-billion-ai-google-killer-2000618755
1•rntn•2m ago•0 comments

In Just a Few Minutes, This Music Will Change Your Day

https://www.nytimes.com/2025/06/20/arts/music/brahms-romance-piano.html
1•whack•9m ago•0 comments

Dandelion root extract affects colorectal cancer proliferation & survival (2016)

https://pmc.ncbi.nlm.nih.gov/articles/PMC5341965/
1•throwaway992673•13m ago•0 comments

Lp(a) blood test shows 114% higher heart attack risk

https://www.empirical.health/blog/lipoprotein-a-blood-test/
1•brandonb•13m ago•0 comments

Best ECG smartwatch: Our experiences and ECG explained

https://www.wareable.com/health-and-wellbeing/ecg-heart-rate-monitor-watch-guide-6508
2•teleforce•13m ago•1 comments

A new stem cell therapy for treating Type 1 diabetes

https://www.hsci.harvard.edu/news/new-therapy-treating-type-1-diabetes
1•mitchbob•14m ago•0 comments

The Value and Importance of Women Who Take Up Space

https://lithub.com/standing-tall-on-the-value-and-importance-of-women-who-take-up-space/
2•mooreds•17m ago•0 comments

Show HN: Mqutils – Universal Go message queue library

https://mqutils.dev/
1•DjGilcrease•18m ago•0 comments

Atrial Fibrillation (AFib): A Guide to Wearable ECG Smart Watches

https://afibinstitute.com.au/atrial-fibrillation-a-guide-to-wearable-ecg-smart-watches/
2•teleforce•20m ago•1 comments

Markdown (2004)

https://daringfireball.net/projects/markdown/
1•thomassmith65•23m ago•0 comments

Air India crash points to systemic problems at Boeing that CEO Ortberg must fix

https://leehamnews.com/2025/06/15/five-for-five-air-india-crash-points-to-systemic-problems-at-boeing-ceo-ortberg-must-fix/
8•andrewfromx•23m ago•4 comments

DevRel is developer zero [video]

https://www.youtube.com/shorts/8Ox_XHYoZ_c
1•mooreds•29m ago•0 comments

Highest-Paying Jobs in Germany

https://www.euronews.com/business/2025/06/21/highest-paying-jobs-in-germany-official-data-and-job-postings-reveal-top-salaries
1•e2e4•30m ago•0 comments

Tiny orange beads found by Apollo astronauts reveal Moon's explosive past

https://www.sciencedaily.com/releases/2025/06/250616040233.htm
1•anigbrowl•31m ago•0 comments

Kelp UI Library

https://kelpui.com/
2•mitchbob•31m ago•0 comments

A broker-less distributed messaging system from the previous century

https://aivarsk.com/2025/06/22/brokerless-distributed-messaging/
1•aivarsk•35m ago•0 comments

Did Contexts Kill Phoenix?

https://arrowsmithlabs.com/blog/did-contexts-kill-phoenix
2•mitchbob•40m ago•1 comments

The Art of Hanakami, or Flower-Petal Folding

https://origamiusa.org/thefold/article/art-hanakami-or-flower-petal-folding
1•s4074433•40m ago•0 comments

The Fine Art of Nesting

https://roberthoward.com.au/fine-art-nesting/
2•s4074433•42m ago•0 comments

Ask HN: How is US entering war affecting your AGI timelines?

1•ozzyphantom•42m ago•2 comments

Taking the wind out of dangerous cyclones

https://reporter.anu.edu.au/all-stories/taking-the-wind-out-of-dangerous-cyclones
1•geox•47m ago•0 comments

Show HN: REPL is the memory layer for multi-agent AI apps – Sherlog‑MCP

https://github.com/GetSherlog/Sherlog-MCP
2•teenvan_1995•47m ago•0 comments

Children in England growing up 'sedentary, scrolling and alone', say experts

https://www.theguardian.com/society/2025/jun/11/children-sedentary-scrolling-alone-lack-of-play-england
4•PaulHoule•50m ago•0 comments

Conscience and the New Cartography of War

https://blogs.timesofisrael.com/conscience-and-the-new-cartography-of-war/
1•bryanrasmussen•51m ago•1 comments

Beach Boys Bassist Carol Kaye Refuses Rock Hall of Fame Induction

https://www.guitarplayer.com/guitarists/carol-kaye-on-rock-hall-of-fame-induction
1•bookofjoe•53m ago•0 comments

Bill Gates: 'Welcome to the next phase of the Alzheimer's fight'

https://www.gatesnotes.com/home/home-page-topic/reader/welcome-to-the-next-phase-of-the-alzheimers-fight
3•MilnerRoute•1h ago•0 comments

Edward Burra's tour of the 20th century

https://www.newstatesman.com/culture/2025/06/the-english-painters-relish-for-subcultures-took-him-across-genres-and-continents
1•prismatic•1h ago•0 comments

USAF B-2 Spirit Bombers Have Beds

https://simpleflying.com/usaf-b-2-spirit-bombers-beds/
13•neom•1h ago•0 comments

Radio Garden

https://radio.garden/?2025
3•LeoPanthera•1h ago•0 comments