mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
328852aa0e
related to #313
43 lines
1.0 KiB
JavaScript
43 lines
1.0 KiB
JavaScript
// NOTE: this list must be up-to-date with browsers listed in
|
|
// test/acceptance/useragentstrings.yml
|
|
const BROWSER_ALIASES_MAP = {
|
|
'Amazon Silk': 'amazon_silk',
|
|
'Android Browser': 'android',
|
|
Bada: 'bada',
|
|
BlackBerry: 'blackberry',
|
|
Chrome: 'chrome',
|
|
Chromium: 'chromium',
|
|
Epiphany: 'epiphany',
|
|
Firefox: 'firefox',
|
|
Focus: 'focus',
|
|
Generic: 'generic',
|
|
Googlebot: 'googlebot',
|
|
'Internet Explorer': 'ie',
|
|
'K-Meleon': 'k_meleon',
|
|
Maxthon: 'maxthon',
|
|
'Microsoft Edge': 'edge',
|
|
'MZ Browser': 'mz',
|
|
'NAVER Whale Browser': 'naver',
|
|
Opera: 'opera',
|
|
'Opera Coast': 'opera_coast',
|
|
PhantomJS: 'phantomjs',
|
|
Puffin: 'puffin',
|
|
QupZilla: 'qupzilla',
|
|
Safari: 'safari',
|
|
Sailfish: 'sailfish',
|
|
'Samsung Internet for Android': 'samsung_internet',
|
|
SeaMonkey: 'seamonkey',
|
|
Sleipnir: 'sleipnir',
|
|
Swing: 'swing',
|
|
Tizen: 'tizen',
|
|
'UC Browser': 'uc',
|
|
Vivaldi: 'vivaldi',
|
|
'WebOS Browser': 'webos',
|
|
WeChat: 'wechat',
|
|
'Yandex Browser': 'yandex',
|
|
};
|
|
|
|
module.exports = {
|
|
BROWSER_ALIASES_MAP,
|
|
};
|