mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
parent
ace0ce17ea
commit
3489f9d374
@ -124,6 +124,21 @@ const browsersList = [
|
||||
return browser;
|
||||
},
|
||||
},
|
||||
{
|
||||
test: [/swing/i],
|
||||
describe(ua) {
|
||||
const browser = {
|
||||
name: 'Swing',
|
||||
};
|
||||
const version = getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, ua) || getFirstMatch(commonVersionIdentifier, ua);
|
||||
|
||||
if (version) {
|
||||
browser.version = version;
|
||||
}
|
||||
|
||||
return browser;
|
||||
},
|
||||
},
|
||||
{
|
||||
test: [/coast/i],
|
||||
describe(ua) {
|
||||
|
@ -2444,3 +2444,18 @@
|
||||
type: "tablet"
|
||||
engine:
|
||||
name: "Blink"
|
||||
Swing:
|
||||
-
|
||||
ua: "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.105 Safari/537.36 Swing/4.2.4.0"
|
||||
spec:
|
||||
browser:
|
||||
name: "Swing"
|
||||
version: "4.2.4.0"
|
||||
os:
|
||||
name: "Windows"
|
||||
version: "NT 10.0"
|
||||
versionName: "10"
|
||||
platform:
|
||||
type: "desktop"
|
||||
engine:
|
||||
name: "Blink"
|
||||
|
Loading…
Reference in New Issue
Block a user