Improve OS detection: Firefox OS

This commit is contained in:
Faisal Salman
2025-12-15 14:55:08 +07:00
parent 9fc460ed40
commit 37d9b3c981
3 changed files with 64 additions and 2 deletions

View File

@@ -25,5 +25,59 @@
"name" : "Firefox OS",
"version" : "44.0"
}
},
{
"desc" : "Firefox OS on Alcatel One Touch Fire",
"ua" : "Mozilla/5.0 (Mobile; ALCATELOneTouch4012X; rv:18.1) Gecko/18.1 Firefox/18.1",
"expect" :
{
"name" : "Firefox OS",
"version" : "18.1"
}
},
{
"desc" : "Firefox OS on Huawei Y300II",
"ua" : "Mozilla/5.0 (Mobile; HUAWEIY300-F1; rv:18.1) Gecko/18.1 Firefox/18.1",
"expect" :
{
"name" : "Firefox OS",
"version" : "18.1"
}
},
{
"desc" : "Firefox OS on LG Fireweb",
"ua" : "Mozilla/5.0 (Mobile; LG-D300; rv:18.1) Gecko/18.1 Firefox/18.1",
"expect" :
{
"name" : "Firefox OS",
"version" : "18.1"
}
},
{
"desc" : "Firefox OS on LG FX0",
"ua" : "Mozilla/5.0 (Mobile; LGL25; rv:32.0) Gecko/32.0 Firefox/32.0",
"expect" :
{
"name" : "Firefox OS",
"version" : "32.0"
}
},
{
"desc" : "Firefox OS on Panasonic Viera TV",
"ua" : "Mozilla/5.0 (Linux; Viera; rv:34.0) Gecko/20100101 Firefox/34.0",
"expect" :
{
"name" : "Firefox OS",
"version" : "34.0"
}
},
{
"desc" : "Firefox OS on ZTE Open",
"ua" : "Mozilla/5.0 (Mobile; ZTEOPEN; rv:18.1) Gecko/18.1 Firefox/18.1",
"expect" :
{
"name" : "Firefox OS",
"version" : "18.1"
}
}
]

View File

@@ -7,5 +7,14 @@
"name" : "FreeBSD",
"version" : "undefined"
}
},
{
"desc" : "FreeBSD",
"ua" : "Mozilla/5.0 (X11; FreeBSD; U; Viera; pl-PL) AppleWebKit/537.11 (KHTML, like Gecko) Viera/3.3.3 Chrome/23.0.1271.97 Safari/537.11",
"expect" :
{
"name" : "FreeBSD",
"version" : "undefined"
}
}
]