1
0
mirror of https://github.com/lancedikson/bowser synced 2026-10-29 23:09:03 +00:00

fix: report Chrome OS as desktop (#645)

Co-authored-by: Fuad Laguda <315088853+lagudafuadtosin@users.noreply.github.com>
This commit is contained in:
Fuad Laguda
2026-10-27 14:30:56 +00:00
committed by GitHub
parent 0f4ef3b056
commit 04d1fc0782
2 changed files with 26 additions and 1 deletions

View File

@@ -542,6 +542,18 @@ export default [
},
},
/* Chrome OS */
{
test(parser) {
return parser.getOSName(true) === 'chrome os';
},
describe() {
return {
type: PLATFORMS_MAP.desktop,
};
},
},
/* PlayStation 4 */
{
test(parser) {

View File

@@ -176,7 +176,20 @@
version: "29.0.1547.57"
os:
name: "Chrome OS"
platform: {}
platform:
type: "desktop"
engine:
name: "Blink"
-
ua: "Mozilla/5.0 (X11; CrOS x86_64 12239.67.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.102 Safari/537.36"
spec:
browser:
name: "Chrome"
version: "76.0.3809.102"
os:
name: "Chrome OS"
platform:
type: "desktop"
engine:
name: "Blink"
-