On 19/12/2018 23.30, Aaron Digulla wrote:
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).
Well, if when using Firefox I change the User-Agent to say "Chrome, Android" (I don't remember the exact wording) then I get the version of the page best suited for mobile devices, with less load (it interest me to lower the bandwidth when I'm not home). However, it I change to "Firefox, Android" it does not work. I don't know of some approved method to tell the sites I want the mobile version, or that I want a low bandwidth version, or that I want an /accessible/ version.
See https://stackoverflow.com/questions/3463915/what-does-it-mean-when-ie-report...
Well... -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)