805 Commits

Author SHA1 Message Date
Faisal Salman
336ce2b950 Improve regex efficiency when trimming long ua string
https://blog.stevenlevithan.com/archives/faster-trim-javascript
2021-09-17 23:24:42 +07:00
Faisal Salman
20a428c351
Merge pull request #523 from zidingz/patch-1
Create SECURITY.md
2021-09-16 23:09:07 +07:00
Ziding Zhang
47c310e203
Create SECURITY.md
A simple instruction for security researchers.
2021-09-16 16:11:51 +01:00
Faisal Salman
299283c436 Fix #506 - add test for Huawei ART-L29 2021-07-22 20:31:35 +07:00
Faisal Salman
39e8d4af03 Fix #500 Sharp devices misjudged as Huawei devices 2021-06-15 12:49:19 +07:00
Faisal Salman
03c915277a Add new OS: Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
User-Agent source: whatismybrowser.com
2021-04-24 23:07:18 +07:00
Faisal Salman
1e7b6d2e8b Improve device detection: LG Android TV 2021-04-24 21:50:18 +07:00
Faisal Salman
e5e13adc81 Improve CPU detection for ARM64 2021-04-24 21:15:16 +07:00
Faisal Salman
837042a3e8 Improve device detection: Huawei, Xiaomi, Realme, LG, OnePlus, ASUS, ZTE, Fairphone 2021-04-22 07:00:28 +07:00
Faisal Salman
7b3aa9fc15 ES3 compat-fix: remove trailing comma 2021-04-18 14:10:56 +07:00
Faisal Salman
8e55e00177 Replace \s with space, saving ~0,3KB 2021-04-16 23:02:11 +07:00
Faisal Salman
ca644313d6 Remove oldEdge map 2021-04-16 12:51:45 +07:00
Faisal Salman
ca83d4c9c3 Refine some OS detection
Source:
- https://www.zytrax.com/tech/web/browser_ids.htm
- https://developers.whatismybrowser.com/useragents/explore/operating_system_name/
2021-04-16 07:11:23 +07:00
Faisal Salman
9bed2b1437 Add new device vendor: Roku
Source: https://github.com/WhichBrowser/Parser-PHP/blob/master/tests/data/television/roku.yaml
2021-04-16 05:17:04 +07:00
Faisal Salman
3792900410 Add new browsers: Obigo, UP.Browser 2021-04-12 14:02:10 +07:00
Faisal Salman
c05e4e837f Add new OS: HP-UX 2021-04-12 13:11:25 +07:00
Faisal Salman
c53a2a1f72 Improve os detection: Windows Mobile without version 2021-04-12 12:55:37 +07:00
Faisal Salman
559ecaacb6 Improve browser detection: Netscape with version 2021-04-12 12:28:24 +07:00
Faisal Salman
f715023f47 Improve device detection: categorize PDA as mobile 2021-04-12 12:24:34 +07:00
Faisal Salman
36b2275add Improve detection rule for Mac on PowerPC 2021-04-12 12:19:01 +07:00
Faisal Salman
75620c7b6c Merge branch 'master' into develop 2021-04-12 12:12:10 +07:00
Faisal Salman
1d3c98a10c Revert breaking fix #279 and release as 0.7.28 0.7.28 2021-04-10 21:39:40 +07:00
Faisal Salman
c39590b673 Test for Firefox UAs, add new browser: Klar, add new OS: Maemo
Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox
2021-04-08 23:14:10 +07:00
Faisal Salman
9200e53787 Update readme: use https for demo link 2021-04-08 21:06:52 +07:00
Faisal Salman
6c671dd246 Refactor code: saving bytes towards 15KB minified 2021-04-08 20:44:13 +07:00
Faisal Salman
535f11bd24 Delete redundant code 2021-04-07 21:42:13 +07:00
Faisal Salman
642c0399e8 Fix #492 LG TV WebOS detection 2021-04-06 14:56:23 +07:00
Faisal Salman
3edacddb24 Merge branch 'master' into develop 2021-04-05 23:32:24 +07:00
Faisal Salman
acc0b91ff5 Update contributor list 2021-04-05 23:32:15 +07:00
Faisal Salman
f726dcd1ae Merge branch 'master' into develop 2021-04-05 13:24:46 +07:00
Faisal Salman
383ca587ef More test for tablet devices 2021-04-04 16:32:30 +07:00
Faisal Salman
7c8aa435b2 Minor rearrangement 2021-04-04 14:37:13 +07:00
Faisal Salman
09aa9105dc Add new device & browser: Tesla 2021-04-04 14:12:40 +07:00
Faisal Salman
557cc2198d More test for latest phones with unique form factor (fold/flip/qwerty/swivel) 2021-04-04 13:12:55 +07:00
Faisal Salman
f95aced43b Release as 0.7.27 0.7.27 2021-04-02 18:18:49 +07:00
Faisal Salman
24950f97ae Merge branch 'master' of github.com:faisalman/ua-parser-js into master 2021-04-02 18:15:28 +07:00
Faisal Salman
cb30756f48
Merge pull request #490 from SuperOleg39/fix-set-ua-limit
Add string check to setUA method
2021-04-02 18:15:04 +07:00
o.drapeza
0868e372e0 Add string check to setUA method 2021-04-02 12:52:30 +03:00
Faisal Salman
9d431cfddd Add new device: Fairphone 2021-04-02 10:10:47 +07:00
Faisal Salman
c937400e8e Add new browser: Firefox Reality 2021-04-02 01:00:50 +07:00
Faisal Salman
8bea5c552a Add new Engine & Browser: Flow 2021-04-02 00:15:20 +07:00
Faisal Salman
3843578de9 Small refactor 2021-04-01 23:55:20 +07:00
Faisal Salman
be9a066029
Merge pull request #487 from kueez/kueez-develop
Better tablet detection
2021-03-29 23:53:21 +07:00
sUP
6f2ba7fcd5 Better tablet detection:
- iPad using Facebook browser on some occasions
- More Huawei tablets
- Asus ZenPad Z8s (P00J)
2021-03-29 18:40:41 +03:00
sUP
d72de26ef9 Better tablet detection - Build. 2021-03-29 16:17:18 +03:00
sUP
80fae81eee Better tablet detection:
- Fix lenovo phone / tablet detection
2021-03-29 16:04:00 +03:00
sUP
91fa6dd5cc Better tablet detection:
- Huawei MediaPad M/T
- Galaxy Tab SM-P
- Kindle Fire without Silk
2021-03-29 15:42:44 +03:00
Faisal Salman
a6b0c165c4 Release as 0.7.26 0.7.26 2021-03-27 02:43:24 +07:00
Faisal Salman
999764cf36 Merge branch 'old-edge-fix' into develop 2021-03-27 02:29:18 +07:00
Faisal Salman
0e70fc4044 Add new device.vendor: Realme 2021-03-27 02:21:18 +07:00