629 Commits

Author SHA1 Message Date
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
Faisal Salman
fd8a583020
Merge pull request #469 from bynice/patch-1
Update ua-parser.js
2021-01-02 11:02:15 +07:00
Yılmaz
34e2e800c5
Update ua-parser.js
Samsung Tablet SM-P587 must be Tablet device type
2020-12-17 15:39:17 +03:00
Deliaz
26c74ef356
Merge branch 'develop' into master 2020-12-16 19:37:22 +02:00
Faisal Salman
c7475db860 0.7.23 2020-12-10 10:45:16 +07:00
Faisal Salman
2d53ceb8bf Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop 2020-12-01 10:50:17 +07: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
Faisal Salman
6d1f26df05 Fix ReDoS vulnerabilities reported by Snyk 2020-12-01 10:09:58 +07:00
Faisal Salman
86471ad7e2 Merge branch 'master' into develop 2020-11-30 23:16:15 +07:00
Faisal Salman
9dfa5fc675 Fix #453 - ReDoS vulnerability in MachSpeed tablets detection as reported by @migueldemoura 2020-11-30 23:15:30 +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
e72371c34d bump version to 0.7.22 2020-09-12 16:06:20 +07:00
Faisal Salman
e96f95802d Refine Xiaomi detection 2020-09-12 15:56:30 +07:00
Faisal Salman
aa190ad319 Merge branch 'master' into develop 2020-09-12 15:50:06 +07:00
Faisal Salman
233d3bae22 Fix potential ReDoS vulnerability 2020-09-12 15:47:15 +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
bd6dee4a08
Update ua-parser.js 2020-05-17 08:17:30 +04:00
Masahiko Sato
7568f0a6f5 Updated the regexp patterns to be simpler/safer. 2020-01-20 17:15:57 +09: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
Faisal Salman
a8eac11d82 Simplify Huawei regex 2019-12-21 05:49:32 +07:00
Faisal Salman
e15ac48f0f Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop 2019-12-21 05:36:39 +07: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
31a0460b60 v0.7.21 2019-12-19 23:11:25 +07:00
Faisal Salman
e14dcd598c Fix #351: Identify Huawei MediaPad as tablet 2019-12-14 22:41:59 +07:00
Faisal Salman
d260bcca37 Remove redundant rule for OnePlus 2019-12-14 19:06:53 +07:00
Faisal Salman
9da7fd4f92 Fix #395: Add 360 Browser 2019-12-14 07:30:43 +07:00
Faisal Salman
5cbd2fa795 Fix #389 TypeError when $=null 2019-12-14 06:20:34 +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
Faisal Salman
c191372e67
Merge pull request #393 from ll-syber/baidubox
Add Baidu App detection
2019-09-25 12:45:11 +07:00