13 Commits

Author SHA1 Message Date
Faisal Salman
70b3003344 [submodule:helpers] Add new method isAIBot(): detect AI bots 2024-11-16 22:14:14 +07:00
Faisal Salman
5b375b90d5 [submodule:helpers] Enable directly pass user-agent as an input to isAppleSilicon() / isBot() / isChromeFamily() 2024-11-16 21:23:39 +07:00
Faisal Salman
5a1d0319f8 Add new helper method: isBot() to detect whether current browser is a bot 2024-11-02 13:15:33 +07:00
Faisal Salman
62fb6c2925 Fix #660 - Add new helper method: getDeviceVendor() to guess the device vendor from a model name 2024-07-27 22:48:58 +07:00
Faisal Salman
21162f1277 BREAKING CHANGE - Rename isChromiumBased -> isChromeFamily & isPWA -> isStandalonePWA 2024-06-22 22:26:58 +07:00
Faisal Salman
1a22c6951f Update all package references in /test to use current working directories 2024-06-02 22:39:33 +07:00
Faisal Salman
106d882fba Create test for helpers 2023-11-10 10:10:38 +07:00
Faisal Salman
647e115a1e [ua-helpers] Fix type error 2023-09-04 22:41:44 +07:00
Faisal Salman
1522691426 [ua-client-hints] Refactor UAClientHints 2023-08-27 10:53:26 +07:00
Faisal Salman
3f105fe93b [helpers] split helpers into 2 new packages: user-agent-helpers & client-hints-helpers 2023-08-23 14:53:34 +07:00
Faisal Salman
129657673b [helpers] Add new method: UACHParser(), parse client-hints HTTP headers into its JS API equivalent 2023-08-22 23:58:04 +07:00
Faisal Salman
3dd4b60ee9 [helpers] Add new method: unfreezeUA(), construct new unfreezed user-agent string using real data from client hints 2023-08-22 01:16:09 +07:00
Faisal Salman
072a82b87b Add a new submodule: ua-parser-helpers with a method: isFrozenUA() to match a string with a frozen user-agent pattern 2023-05-27 20:53:45 +07:00