We provide this information to assist with your UA detection logic, but Mozilla discourages the detection of a device id in UA strings. Some of them we have noticed are of the form " NexusOne ", " ZTEOpen ", or " Open C " (note that putting space is also discouraged). If this is the case, the Firefox OS UA string will look like the device-specific string in the table above, where nnnn is the manufacturer's code for the device (see Guidelines). Mozilla/5.0 (Mobile nnnn rv:26.0) Gecko/26.0 Firefox/26.0Īlthough it is strongly discouraged by Mozilla, some handset manufacturers unfortunately include a token in their device's UA string that represents their device id. Version 3 (and probably earlier) of Firefox for Fire TV use a user agent string with the following format: Mozilla/5.0 (Linux ) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/ Chrome/ Safari/ Note: this user agent was retrieved from an iPhone XR simulator and may be different on device.
#Firefox mobile user agent mac os
Version 7 of Focus for iOS uses a user agent string with the following format: Mozilla/5.0 (iPhone CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/7.0.4 Mobile/16B91 Safari/605.1.15
#Firefox mobile user agent android
Mozilla/5.0 (Linux Android 7.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/4.1 Chrome/.83 Mobile Safari/537.36 Some Gecko-based browsers may not opt into using this token for this reason, sniffers should be looking for Gecko - not Firefox! Whether this token appears is controlled by the "" boolean pref. firefoxversion will generally represent the equivalent Firefox release corresponding to the given Gecko version.
![firefox mobile user agent firefox mobile user agent](http://2.bp.blogspot.com/-5TKvtx2IIHw/UygLJTf5zCI/AAAAAAAABcI/Oeg0nAQDezg/s1600/user-agent-switcher-for-firefox.jpg)
![firefox mobile user agent firefox mobile user agent](https://winaero.com/blog/wp-content/uploads/2018/03/Chrome-Developer-tools-Custom-User-Agent.png)
![firefox mobile user agent firefox mobile user agent](https://umaar.com/assets/images/dev-tips/custom-user-agent.gif)
For instance, this could be " Camino/2.1.1", or " SeaMonkey/2.7.1". appname/appversion indicates the application name and version.Mozilla/5.0 (platform rv:geckoversion) Gecko/geckotrail appname/appversion Mozilla/5.0 (platform rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion appname/appversion Note: The recommended way of sniffing for Gecko-based browsers (if you have to sniff for the browser engine instead of using feature detection) is by the presence of the " Gecko" and " rv:" strings, since some other browsers include a " like Gecko" token.įor other products based on Gecko, the string can take one of two forms, where the tokens have the same meaning except those noted below: