Merge pull request #33304 from jld3103/feature/neon-user-agent

Add Neon user-agent
pull/33306/head
Vincent Petry 2022-07-21 13:42:58 +07:00 committed by GitHub
commit f98251d2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

@ -116,6 +116,8 @@ const userAgentMap = {
webPirate: /(Sailfish).*WebPirate\/(\d+)/,
// Mozilla/5.0 (Maemo; Linux; U; Jolla; Sailfish; Mobile; rv:31.0) Gecko/31.0 Firefox/31.0 SailfishBrowser/1.0
sailfishBrowser: /(Sailfish).*SailfishBrowser\/(\d+)/,
// Neon 1.0.0+1
neon: /Neon \d+\.\d+\.\d+\+\d+/,
}
const nameMap = {
ie: t('setting', 'Internet Explorer'),
@ -133,6 +135,7 @@ const nameMap = {
davx5: 'DAVx5',
webPirate: 'WebPirate',
sailfishBrowser: 'SailfishBrowser',
neon: 'Neon',
}
const iconMap = {
ie: 'icon-desktop',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long