649 Commits

Author SHA1 Message Date
Faisal Salman
5328642e18 Update version to 2.0.0-beta.3 2024-06-08 01:17:52 +07:00
Faisal Salman
bdcd927304 Update test for extensions 2024-06-08 00:27:28 +07:00
Faisal Salman
db3423a76c BREAKING - Remove bot type, divide as crawler / fetcher
Add new crawler: Baiduspider, DuckDuckBot, & Sogou Web Spider
Add new fetcher: Mastodon, Pinterestbot, Redditbot, LinkedInBot, Discordbot, Telegrambot, Twitterbot, Snapchat Bot, WhatsApp
2024-06-08 00:06:27 +07:00
Faisal Salman
173325faa1 Add some well-known bot user-agents: Applebot, Amazonbot, Bytespider, Claudebot, Yandexbot 2024-06-06 22:36:15 +07:00
Faisal Salman
5190905df8 Clean up & few changes related to browser.type 2024-06-06 21:52:16 +07:00
Faisal Salman
0a46ac396a Fix #718 - Extension param now accept multiple extensions 2024-06-06 20:25:43 +07:00
Faisal Salman
f7810dbfcf Add new browsers: Wolvic & Pico Browser 2024-06-06 14:32:59 +07:00
Faisal Salman
0543b87c02 BREAKING CHANGE: AR/VR devices moved to new device type: xr 2024-06-05 15:49:07 +07:00
Faisal Salman
39590f112d BREAKING CHANGE - Add new property to browser: type 2024-06-02 23:04:25 +07:00
Faisal Salman
8991d34e56 Update formFactor -> formFactors, in accordance to the latest change in client hints spec 2024-06-02 21:56:36 +07:00
Faisal Salman
1a2ef00509 Improve browser detection for QQBrowser 2024-06-02 15:49:27 +07:00
Faisal Salman
12c2c2e48a Improve browser detection for Rekonq 2024-06-02 15:35:33 +07:00
Faisal Salman
85bf7076d3 Improve browser detection for ICEBrowser 2024-06-02 15:32:41 +07:00
Faisal Salman
1fa3d02594 Remove Viera from list of browsers 2024-06-02 15:20:50 +07:00
Faisal Salman
4cd867a36e Improve browser detection for Klar
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#klar_for_android
2024-06-02 15:14:42 +07:00
Faisal Salman
6b6fcc68f5 Improve browser detection for Sleipnir 2024-06-02 15:10:37 +07:00
Faisal Salman
e87c794fd9 Fix #730 - Improve browser detection: DuckDuckGo 2024-05-23 18:14:23 +07:00
Faisal Salman
d0db40c290 Fix #722 - Add new browser name: Twitter 2024-05-17 23:02:01 +07:00
Faisal Salman
8dce4cc514 Fix #721 - Improve detection: recognize OPPO Pad as tablet 2024-05-17 22:39:11 +07:00
Dai Jie
a43d659577
Fix #710: Add type to IBrowser (#711) 2024-03-19 21:32:43 +07:00
Faisal Salman
b29a9a7ffb Fix #708 - Improve detection for Quest 3 2024-02-28 10:19:30 +07:00
Faisal Salman
4d950db145 Update version to 2.0.0-beta.2 2024-01-28 22:34:46 +07:00
Faisal Salman
b5b5475ab4 Add new helper method: isFrozenUA() to match with frozen user-agent pattern 2024-01-25 12:21:17 +07:00
Faisal Salman
d6d8ac7cb4 Fix #692 - Improve TS module resolution (#702) 2024-01-24 09:56:23 +07:00
Beat YT
54c633aac5
Update ua-parser.js (#696)
Fixed Xbox Detection for Chrome-Based Edge
2024-01-24 09:24:38 +07:00
Faisal Salman
9c5d6ee70e Fix Edge detection in ua-ch: "Microsoft Edge" -> "Edge" 2024-01-18 11:29:46 +07:00
Faisal Salman
b5c62b0c82 Fix #635 - ua-ch: prioritize more specific brand name regardless the order 2024-01-10 17:16:26 +07:00
Faisal Salman
0c49d75074 Fix #697 - Add new browser: Opera GX - https://www.opera.com/gx 2023-12-29 20:59:44 +07:00
Faisal Salman
09904a0a47 Fix undefined brandName when reading a field list that has no version 2023-12-20 22:28:23 +07:00
Faisal Salman
3622b614a7 Fix d.ts Record for extensions as Partial 2023-11-30 11:50:44 +07:00
Faisal Salman
e4f2463849 Create declaration file .d.ts for extensions submodule 2023-11-30 11:27:54 +07:00
Faisal Salman
106d882fba Create test for helpers 2023-11-10 10:10:38 +07:00
Faisal Salman
7abc8b9ecc Add new helper method isChromiumBased() to check whether the current browser is a Chromium-based browser 2023-11-09 13:50:04 +07:00
Faisal Salman
7ad3e3b451 Internal refactor: new helper methods to check for string & window 2023-11-09 13:50:04 +07:00
Faisal Salman
f8f71c65d4 Add new helpers submodule 2023-10-24 11:17:32 +07:00
Faisal Salman
17f0c1e1cd Improve browser detection: WeChat 2023-10-24 00:09:53 +07:00
Faisal Salman
9cc274fb6f Improve browser detection: unified name for Baidu 2023-10-24 00:00:38 +07:00
Faisal Salman
f56073bb3e Improve browser detection: remove unnecessary extra space in "Avant " 2023-10-23 23:33:04 +07:00
Faisal Salman
5c10e2b107 Improve browser detection: rename "Samsung Browser" to "Samsung Internet" https://developer.samsung.com/internet/user-agent-string-format.html 2023-10-23 23:32:35 +07:00
Faisal Salman
cfc01470b5 Update enums 2023-10-19 23:21:33 +07:00
Faisal Salman
d565f65280 Fix #682 - Add new browser: Smart Lenovo Browser
https://browser.lenovo.com.cn/
2023-10-19 10:05:52 +07:00
Faisal Salman
69ed6cec77 Fix #683 - change MetaSr into Sogou Explorer (+add Sogou Mobile) 2023-10-12 22:11:20 +07:00
Faisal Salman
b51ae9eb38 Fix misidentified WebView token as device model - found in #681 2023-10-12 14:52:25 +07:00
Faisal Salman
125f0d9f16 Fix #681 - Add new browser: Vivo Browser
https://play.google.com/store/apps/details?id=com.vivo.browser
2023-10-12 14:43:26 +07:00
Faisal Salman
e614108911 Increase UA_MAX_LENGTH to 500 2023-10-12 14:36:54 +07:00
Faisal Salman
77e0aa1ac6 Fix #563 #631 - Add new browser: Alipay 2023-10-12 14:18:51 +07:00
Ilya Daraseliya
177a496c34
add Klarna Shopping Browser UA parser (#669)
Co-authored-by: Ilya Daraseliya <ilya.daraseliya@klarna.com>
2023-10-02 18:54:37 +07:00
Faisal Salman
ac282df13e Update version to 2.0.0-beta.1 2023-10-02 15:11:31 +07:00
Faisal Salman
5a0d9cc3d0 Fix #655 - Provide in-package type definitions 2023-10-02 14:54:32 +07:00
Faisal Salman
f6fbf170e3 Update formFactor to be a list 2023-09-30 16:05:32 +07:00