mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Add Kakao App, Naver App
This commit is contained in:
parent
779b5dc1e5
commit
0b423078c8
@ -58,7 +58,8 @@
|
|||||||
XIAOMI = 'Xiaomi',
|
XIAOMI = 'Xiaomi',
|
||||||
ZEBRA = 'Zebra',
|
ZEBRA = 'Zebra',
|
||||||
FACEBOOK = 'Facebook',
|
FACEBOOK = 'Facebook',
|
||||||
KAKAO = 'Kakao';
|
KAKAO = 'Kakao',
|
||||||
|
NAVER = 'Naver';
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
// Helper
|
// Helper
|
||||||
@ -223,6 +224,9 @@
|
|||||||
/\bopr\/([\w\.]+)/i // Opera Webkit
|
/\bopr\/([\w\.]+)/i // Opera Webkit
|
||||||
], [VERSION, [NAME, OPERA]], [
|
], [VERSION, [NAME, OPERA]], [
|
||||||
|
|
||||||
|
/whale\/([-\w\.]+).+NAVER\((.*)\)/i // Naver InApp
|
||||||
|
], [VERSION,[NAME, /(.+);\s+(.+);\s+(.+);\s+(.+)/i, NAVER+' $1 $2']], [
|
||||||
|
|
||||||
// Mixed
|
// Mixed
|
||||||
/(kindle)\/([\w\.]+)/i, // Kindle
|
/(kindle)\/([\w\.]+)/i, // Kindle
|
||||||
/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer
|
/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer
|
||||||
@ -288,10 +292,8 @@
|
|||||||
/\bgsa\/([\w\.]+) .*safari\//i // Google Search Appliance on iOS
|
/\bgsa\/([\w\.]+) .*safari\//i // Google Search Appliance on iOS
|
||||||
], [VERSION, [NAME, 'GSA']], [
|
], [VERSION, [NAME, 'GSA']], [
|
||||||
|
|
||||||
/ wv\).+(chrome)\/([\w\.]+).+(kakaotalk)/i // KakaoTalk App
|
/ wv\).+chrome\/([\w\.]+).+kakao(.+)\//i // Kakao App
|
||||||
], [[NAME, KAKAO+'Talk'], VERSION], [
|
], [VERSION, [NAME, /(.+)/i, KAKAO+'$1']], [
|
||||||
/ wv\).+(chrome)\/([\w\.]+).+(kakaostory)/i // KakaoStory App
|
|
||||||
], [[NAME, KAKAO+'Story'], VERSION], [
|
|
||||||
|
|
||||||
/headlesschrome(?:\/([\w\.]+)| )/i // Chrome Headless
|
/headlesschrome(?:\/([\w\.]+)| )/i // Chrome Headless
|
||||||
], [VERSION, [NAME, CHROME+' Headless']], [
|
], [VERSION, [NAME, CHROME+' Headless']], [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user