mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Update readme for osname
This commit is contained in:
parent
5d314dfb2f
commit
9dcb3aeb46
@ -153,8 +153,9 @@ If detected, one of these flags may be set to true:
|
|||||||
* `tizen`
|
* `tizen`
|
||||||
* `sailfish`
|
* `sailfish`
|
||||||
|
|
||||||
`osversion` may also be set:
|
`osname` and `osversion` may also be set:
|
||||||
|
|
||||||
|
* `osname` - for the OS flags detected above: macOS, Windows, Windows Phone, Linux, Chrome OS, Android, iOS, Blackberry OS, Firefox OS, WebOS, Bada, Tizen, Sailfish OS, and Xbox
|
||||||
* `osversion` - for Android, iOS, MacOS, Windows, Windows Phone, WebOS, Bada, and Tizen. If included in UA string.
|
* `osversion` - for Android, iOS, MacOS, Windows, Windows Phone, WebOS, Bada, and Tizen. If included in UA string.
|
||||||
|
|
||||||
iOS is always reported as `ios` and additionally as `iphone`/`ipad`/`ipod`, whichever one matches best.
|
iOS is always reported as `ios` and additionally as `iphone`/`ipad`/`ipod`, whichever one matches best.
|
||||||
|
Loading…
Reference in New Issue
Block a user