PhpUserAgent icon indicating copy to clipboard operation
PhpUserAgent copied to clipboard

Running Firefox on iPad shows Safari

Open gjtyler opened this issue 8 years ago • 2 comments

User Agent is: Mozilla/5.0 (iPad; CPU OS 10_2_1 like Mac OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) FxiOS/6.1 Mobile/14D27 Safari/602.4.6

Reports iPad, Safari, 602.4.6 Should report iPad, Firefox, 6.1

The FxiOS keyword should take priority over AppleWebKit and Safari

gjtyler avatar Mar 08 '17 04:03 gjtyler

Do you have a good reason to detect Firefox as seperate from Safari on iOS? I've hesitated to add it because it's just Safari wrapped in a different skin.

donatj avatar Apr 24 '17 20:04 donatj

I am using the data for metrics reporting, not for generating different code. I show the user which devices and browsers they have used to access my site. I actually didn't know that Firefox is using the Safari rendering engine - thanks for that information.

gjtyler avatar Apr 24 '17 20:04 gjtyler