538 Commits

Author SHA1 Message Date
Faisal Salman
8c2b84fc31 Enforce maximum limit to user-agent input 2021-03-23 20:10:09 +07:00
Faisal Salman
1a8cd671ab Fix #449 Lenovo Tablet 2021-03-18 02:05:57 +07:00
Faisal Salman
d1ba5f5914 Fix #430 Playstation 5 2021-03-18 00:19:41 +07:00
Faisal Salman
e402a6a55c Latest Xperia lineup 2021-03-17 10:58:50 +07:00
Faisal Salman
e612b44ecd Fix #470 Identify Android TV as SmartTV 2021-03-14 22:47:23 +07:00
Faisal Salman
fc1d3b0719 Fix #475 Nokia version incomplete 2021-03-14 22:22:04 +07:00
Faisal Salman
d1ea2f0dc4 Fix #433 #434 Huawei devices 2021-03-14 19:07:28 +07:00
Faisal Salman
6c44b3fcc5 Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop 2021-03-13 21:04:46 +07:00
Faisal Salman
b1f34c1620
Merge pull request #477 from crcong/fixWechatDesktop
FIX: Wechat Desktop for Windows compatible with new version
2021-03-13 21:00:59 +07:00
Faisal Salman
6c87e069ec Fix #407 ZTE Nubia misidentified as Nextbook Tablet 2021-03-13 11:41:56 +07:00
Faisal Salman
d658ef364b Fix #339 Add Weibo 2021-03-13 09:34:22 +07:00
Faisal Salman
f85dc8cb9a Fix #366 Amazon Alexa Echo Show 2021-03-13 09:22:56 +07:00
Faisal Salman
cdac86782b Add Nintendo Switch 2021-03-13 08:47:06 +07:00
Faisal Salman
46615e70db Fix #454 Improve Samsung detection 2021-03-12 19:20:17 +07:00
Faisal Salman
6aa3ff1374 Fix #450 Sony Xperia Z2 Tablet 2021-03-12 17:40:07 +07:00
Faisal Salman
ec5a864abb Fix #367 #425 Detect Instagram in-app browser 2021-03-09 02:32:10 +07:00
Faisal Salman
d78a2e0361 Fix #413 Bug resulting Motorola model O 2021-03-09 02:13:31 +07:00
Joey Parrish
7679003f87 fix: Xbox OS detection
It is better to detect Xbox devices as having the OS "Xbox".
Otherwise, they are detected as "Windows 10", making it difficult to
see the difference between Legacy Edge on Windows and the Xbox
browser.  (Karma (https://github.com/karma-runner/karma) only shows
the browser & OS on the status line.)

With this change, Xbox 360, Xbox One, Xbox X/S, and Xbox Series X/S
are all detected as OS "Xbox" with version "360", "One", etc.
2021-02-09 12:24:17 -08:00
ruicong
cd1bfd87c5 FIX: Wechat Desktop for Windows compatible with new version 2021-01-18 17:11:53 +08:00
Faisal Salman
45bf76a0fe
Merge pull request #474 from dust-off/master
Fallback for Mobile
2021-01-08 14:41:15 +07:00
Dustin
f543c5ad72 facebook movile app with no browser info 2021-01-07 09:41:20 -08:00
Faisal Salman
89a72c27a7
Merge pull request #471 from jishidaaaaa/fix-firetv-detection
Fix Detection Rule For Amazon Fire TV
2021-01-05 23:46:45 +07:00
Junki-Ishida
b0f14de2a4 Fix Detection Rule For Amazon Fire TV 2021-01-05 21:19:07 +09:00
Deliaz
26c74ef356
Merge branch 'develop' into master 2020-12-16 19:37:22 +02:00
Faisal Salman
43fb4d16a7
Merge pull request #459 from WizKid/master
Amazon Fire do not always contain build number
2020-12-01 10:36:11 +07:00
Emil Hesslow
7b23335d29 Amazon Fire do not always contain build number 2020-11-23 13:43:33 -08:00
Faisal Salman
edd84eaa72 Fix #447 - Improve identification for LG SmartTV 2020-10-01 12:16:54 +07:00
Faisal Salman
1a75bc845f Fix #444 - Identify unknown Firefox-based browser as "Firefox" rather than "Mozilla" 2020-09-17 23:29:17 +07:00
Faisal Salman
e96f95802d Refine Xiaomi detection 2020-09-12 15:56:30 +07:00
Raman Savaryn
da113f9fad
Merge branch 'develop' into samsung-note-10 2020-08-18 08:14:55 +03:00
Faisal Salman
150ad0b176
Merge pull request #439 from joeyparrish/develop
Extract Chromecast firmware version
2020-08-13 13:58:24 +07:00
Faisal Salman
ba5324d3cd
Merge pull request #436 from derUli/develop
Detect SM-P610 / Samsung Galaxy Tab S6 Lite as tablet
2020-08-13 13:55:39 +07:00
Joey Parrish
20ceaf9000 Extract Chromecast firmware version
Rather than put the CPU type as the OS version, for Chromecast, the
firmware version would be much more useful.

For example:

  Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like
  Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786

This should produce:

  os: { name: "Chromecast", version: "1.42.183786" }

Instead of:

  os: { name: "Linux", version: "aarch64" }
2020-08-12 11:00:51 -07:00
roman.savarin
a8972c7d70 Detect Samsung Note 10.1 as a tablet 2020-07-31 17:04:50 +03:00
Ulrich Schmidt
8196cb1c43 detect SM-P610 / Samsung Galaxy Tab S6 Lite as tablet 2020-07-21 14:18:50 +02:00
Nicholas Ionata
624eaf3f8a
Merge branch 'develop' into feature/facebook 2020-06-03 18:35:41 -04:00
nionata
4ca311224f catch facebook in-app browsers that do not contain versions 2020-06-03 18:10:56 -04:00
patrick-nurt
cc11bc6a2c
Update device-test.json 2020-05-17 08:20:27 +04:00
Masahiko Sato
726a458c84 Try to detect Android device models from unidentified vendors. 2020-01-17 15:42:02 +09:00
insanehong
74c973b0d8 Add new browser Whale@Naver Corp. - https://whale.naver.com 2020-01-07 17:29:14 +09:00
Tony Tomarchio
b45bd07bab Add additional model numbers for Huawei Mate 20 Pro 2019-12-19 11:10:06 -08:00
Tony Tomarchio
feafa4d027 Detect Huawei P20 Pro 2019-12-19 11:10:06 -08:00
Tony Tomarchio
fc08e23f54 Detect Huawei Mate 20 Pro 2019-12-19 11:10:06 -08:00
Faisal Salman
590234ba13
Merge pull request #402 from ChadKillingsworth/pixels
Add detection for newer Pixel devices
2019-12-20 01:21:32 +07:00
Faisal Salman
e14dcd598c Fix #351: Identify Huawei MediaPad as tablet 2019-12-14 22:41:59 +07:00
Faisal Salman
9da7fd4f92 Fix #395: Add 360 Browser 2019-12-14 07:30:43 +07:00
Faisal Salman
7fca67cbc7 Add OS: KaiOS 2019-12-14 05:49:00 +07:00
Chad Killingsworth
ac123a98de
Add detection for newer Pixel devices 2019-12-04 07:08:51 -06:00
Faisal Salman
65b3804625
Merge pull request #399 from MimyyK/master
Add new devices OnePlus
2019-11-16 23:13:53 +07:00
MimyyK
c558a64ec5 Add new devices (OnePlus 6 and OnePlus 6T) 2019-11-15 12:04:23 +01:00