Am 19.12.18 um 22:11 schrieb Dave Howorth:
On Wed, 19 Dec 2018 21:30:47 +0100 Aaron Digulla <digulla@hepe.com> wrote:
Am 19.12.18 um 21:16 schrieb Dave Howorth:
I've just noticed that when Firefox on my Leap 15.0 system, which currently says it is 60.3.0esr (64-bit) in the Help/About, tells web servers that it requests pages from that it is
"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
Why does it lie about its version number? That depends what you mean by "lying".
"Mozilla/5.0" is like an ancient relic which is cherished by software used by web designers and some web servers. Kind of a baseline for "not IE".
The thing you're looking for is "rv:60.0" and "Firefox/60.0". That's the "real" version if anyone cares. That's my point - it isn't. It's 60.3.0
Ah. Browsers generally discourage people trying to read too much into the UserAgent string. In the past, some developers have tried to use this to determine the features of the browser. That often failed when unknown strings were encountered. It also becomes incredibly messy when you try to map features to versions. There are much better ways to detect which features a browser supports (like checking for undefined properties). See https://stackoverflow.com/questions/3463915/what-does-it-mean-when-ie-report... Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org