Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Considering recent chrome, firefox user agent contains id string of almost every browser in existence, this is so true:

Mozilla/5.0 (...) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36



sort by: page size:

So what will the new User Agent string be? "Mozilla/5.0 (X11; Linux x86_64) Blink/537.33 (KHTML; like WebKit; like Safari; like Gecko) Chrome/27.0.1438.7"? Hopefully people will finally start using feature detection rather than user agent detection...

Frankly, Firefox should take the nuclear option, and just start emulating Chrome with regard to website identifiable information.

In particular, User-Agent strings are now a net-negative. I've never run into a website that doesn't work on Firefox. I do occasionally run into websites that claim to not work on Firefox. We software developers have shown that we can't be trusted with information pertaining to what browser someone is using, and as such should have the privilege taken away. If you're reading this, and you have access to a codebase that reads User-Agent strings for anything more than idle curiosity, just delete it and push to master.


I think it's in the grand traditions of the web to fake your user agent if that's what it takes to get round this stupidity.

This is why every browser still has the string 'Mozilla' in their user-agent somewhere.


``Mozilla/5.0'' doesn't seem to mean anything much— it's in Chrome's (and Konqueror's!) default user agent as well.

Or just "chromium 99"

Every once in a while I rebel and change my user agent to "firefox 103". but in the end get sad about how much breaks when you do that, and come crawling back the the default user agent string.

I think the thing that bugs me the most is not the complexity of it. but how every body is spoofing every body elses user agent string. It is just this stupid circle jerk of spoofing.


> Firefox is may freeze the user agent to a two-digit number like "Firefox/99.0."

Opera did that when version went up from 9 to 10. Too many websites looked at first digit of version rather that doing feature discovery back then.

Useragent string of Opera 12 is "Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.18".


Firefox sends an easily identifiable user-agent string with every request.

If businesses want to operate on bad data (analytics that depend on JS), that's their fault.


It's the severely-outdated Firefox version number. Spambots and crawlers sometimes have user-agent strings corresponding to very old browsers, because they were set once when the bot was created and then never updated. On an unrelated site that I run, we get a lot of traffic with user agent strings corresponding to implausibly-old browsers, and it's ~100% bots.

Indeed, however Firefox often masks its user agent as websites falsely report broken and missing features for non-chrome browsers. User agent is growingly meaningless as a metric.

Perhaps more generously, to Firefox, they’re interpreting Firefox user strings as an app sending data to them. For curiosity, where did you pull that data from?

Similarly, Mozilla recently had to freeze part of Firefox’s User-Agent string because some websites mistook Firefox 110 as IE 11 and blocked access because they no longer supported IE 11. The websites misinterpreted “rv:110” in Firefox’s Use-Agent string as “rv:11”.

https://bugzilla.mozilla.org/show_bug.cgi?id=1805967


iirc many bots use Firefox UA string as their own.

Why do they block Gecko browsers with user agent string detection? Google's vendetta against Mozilla annoys me so.

Changing your user agent is also probably a bad idea. There are other ways to detect browser, so you're pretty unique of you're using Firefox on MacOS with a Chrome for Windows user agent.

"Your user-agent string specifies your browser as being a variant of FIREFOX. Judging by your fingerprint we believe your browser is a variant of FIREFOX. Your user-agent string specifies your operating system as being a variant of UNKNOWN. Judging by your fingerprint we believe your operating system is a variant of WINDOWS."

And yet

User agent is parsed as "Mozilla/5.0 (X11; OpenBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46". Which is actually the case.


Weird combo being Firefox with its default user agent..

What I don't understand that the user agent for the latest version of Firefox (on Windows 10) has a similarity rating of just 0,31%.


Browser vendors can't clean up User-Agent because the websites sniff it and break if it's "wrong" (for any random value of wrong).

I'm sure there's a Bugzilla bug about the "X11; Linux x86_64" in the headers, and I'd be terrified to open it.

next

Legal | privacy