Live data from Hacker News

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

stackoverflow.com

1–10 of 68 posts

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

#2
(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

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

#5
post #3

Really weird and convoluted reasons for it. A better question is why it was never fixed / renamed to proper names.

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.

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

#8
post #3

Really weird and convoluted reasons for it. A better question is why it was never fixed / renamed to proper names.

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…

Post reply on HN