1
0
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:
Jesse Smick 2017-09-28 09:36:58 -07:00
parent c0efa3f27a
commit 24fda8b55d

View File

@ -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.