mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
feat: add Nokia Vendor (#448)
This commit is contained in:
parent
0c7380dbf9
commit
4481f5aab3
@ -130,6 +130,22 @@ export default [
|
||||
},
|
||||
},
|
||||
|
||||
/* Nokia */
|
||||
{
|
||||
test: [/Nokia/i],
|
||||
describe(ua) {
|
||||
const model = Utils.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i, ua);
|
||||
const platform = {
|
||||
type: PLATFORMS_MAP.mobile,
|
||||
vendor: 'Nokia',
|
||||
};
|
||||
if (model) {
|
||||
platform.model = model;
|
||||
}
|
||||
return platform;
|
||||
},
|
||||
},
|
||||
|
||||
/* Mobile */
|
||||
{
|
||||
test: [/[^-]mobi/i],
|
||||
|
@ -336,6 +336,35 @@
|
||||
type: "tv"
|
||||
engine:
|
||||
name: "Blink"
|
||||
-
|
||||
ua: "Mozilla/5.0 (Linux; Android 9; Nokia 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36"
|
||||
spec:
|
||||
browser:
|
||||
name: "Chrome"
|
||||
version: "85.0.4183.127"
|
||||
os:
|
||||
name: "Android"
|
||||
version: "9"
|
||||
versionName: "Pie"
|
||||
platform:
|
||||
type: "mobile"
|
||||
vendor: "Nokia"
|
||||
model: "5.1"
|
||||
engine:
|
||||
name: "Blink"
|
||||
-
|
||||
ua: "Mozilla/5.0 (Linux; Android 10; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3396.81 Mobile Safari/537.36"
|
||||
spec:
|
||||
browser:
|
||||
name: "Chrome"
|
||||
version: "75.0.3396.81"
|
||||
os:
|
||||
name: "Android"
|
||||
version: "10"
|
||||
platform:
|
||||
type: "mobile"
|
||||
engine:
|
||||
name: "Blink"
|
||||
Google Search:
|
||||
-
|
||||
ua: "Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/83.0.268992909 Mobile/15E148 Safari/605.1"
|
||||
@ -1391,6 +1420,7 @@
|
||||
version: "8.0"
|
||||
platform:
|
||||
type: "mobile"
|
||||
vendor: "Nokia"
|
||||
engine:
|
||||
name: "Trident"
|
||||
version: "6.0"
|
||||
@ -1405,6 +1435,7 @@
|
||||
version: "8.0"
|
||||
platform:
|
||||
type: "mobile"
|
||||
vendor: "Nokia"
|
||||
engine:
|
||||
name: "Trident"
|
||||
version: "6.0"
|
||||
@ -1433,6 +1464,7 @@
|
||||
version: "7.0"
|
||||
platform:
|
||||
type: "mobile"
|
||||
vendor: "Nokia"
|
||||
engine:
|
||||
name: "Trident"
|
||||
version: "3.1"
|
||||
|
Loading…
Reference in New Issue
Block a user