Menu

#925 OS detection for Ubuntu Firefox does not work

7.3
open
nobody
None
1
2014-04-23
2014-04-23
No

The search pattern for Ubuntu Linux is 'linux(.*)ubuntu'.

This works for old Firefox browsers, because they send an user agent string like this:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100614 Ubuntu/10.04 (lucid) Firefox/3.6.4

With newer versions of Firefox this does not work anymore, because they send this user agent string:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

Discussion


Log in to post a comment.