Skip to content

Commit

Permalink
Detect new brands and Detect devices for exist brands (#193)
Browse files Browse the repository at this point in the history
* Detect new brands: HongTop, NETWIT and Detect devices for exist brands (matomo-org#7725)
feat(device) detect brand new NETWIT: P12039S
feat(device) detect brand Lava: V7s Prime (LE9940_W)
feat(device) detect brand Huawei: Y9 (2019) (JKM-L03)
feat(device) detect brand Topelotek: KIDS708 Kids Tablet
feat(device) detect brand Beeline: RASSE-001
feat(device) detect brand QWATT: Q65YK-MB
feat(device) detect brand Orbsmart: S85
feat(device) detect brand MegaFon: KM8-ATV-MF
feat(device) detect brand Polar: P32L33T2CSM
feat(device) detect brand Vekta: LD-50SU8815BS, LD-43SU8821BS, LD-43SF4815BS, LD-32SR4815BS
feat(device) detect brand AMCV: LE-55ZTUS30, LE-50ZTUS32, LE-43ZTFS25, LE-32ZTHS25
feat(device) detect brand Novex: NWX-65U169TSY-A, NVX-65U321MSY,
feat(device) detect brand Alps: tb8163p3 bsp
feat(device) detect brand HP: EliteBook 8470p
feat(device) detect brand Xiaomi: 13T Pro (23088PND5R)
feat(device) detect brand FreeYond: M5 (2308011M)
feat(device) detect brand NextBook: BRT81
feat(device) detect brand ONN: 100110603
feat(device) detect brand C Idea: CM8500 Plus
feat(device) detect brand NEKO: LT-55NX8001S, LT-43NF8020S
feat(device) detect brand Starwind: SW-LED58UB400, SW-LED55UB401, SW-LED50UG403, SW-LED50UG400
feat(device) detect brand X96: Max Plus 2, Max Plus 5, Max Plus Q1, Max Plus Q2
feat(device) detect new brand HongTop: Projector
feat(device) detect brand Huawei: Enjoy Z 5G, Enjoy 20 Plus 5G, Enjoy 20e, Enjoy 20 5G, Enjoy 10E, Enjoy 20 Pro 5G
feat(device) detect brand Rombica: Smart Box X1
feat(device) detect brand Hartens: HTV-55U11B-VS
feat(device) detect brand GoldMaster: i-925, i-905

Adds detection for iNet Browser, Motorola Internet Browser, UPhone Browser, VMS Mosaic and improves detection for Dorado, NetFront, Nokia Browser (matomo-org#7726)
Adds detection for iNet Browser
Adds detection for Motorola Internet Browser
Adds detection for UPhone Browser
Adds detection for VMS Mosaic
Improves version detection for Nokia Browser
Improves detection for Dorado
Improves detection for NetFront

Detect devices for exist brands (matomo-org#7728)
feat(device) detect brand Realme: 12x (RMX3993), GT 6 (RMX3851), 12 (RMX3871)
feat(device) detect brand Samsung: Galaxy Jump 3 (SM-M446K)
feat(device) detect brand Thomson: Origin 679 Pro
feat(device) detect brand Hotwav: Cyber 15
feat(device) detect brand Cricket: Debut S2 (U380AC), Magic 5G (U6080AC)
feat(device) detect brand Blu: G61S
feat(device) detect brand Torex: Pad 818
feat(device) detect brand Realme: GT 6T (RMX3853)
feat(device) detect brand Brondi: Amico Smartphone XS
feat(device) detect brand iMuz: muPAD 102
feat(device) detect brand Asus: Cube
feat(device) detect brand Samsung: Galaxy W23 Flip (SM-W7023), Galaxy Tab S9 FE 10.9" 5G (SM-X518U, SM-X516B), Galaxy Tab Active 5 8.0" 5G (SM-X306B)
feat(device) detect brand Realme: C63 (RMX3939)
feat(device) detect brand POCO: F6
feat(device) detect brand Unihertz: Tank 2 Pro
feat(device) detect brand Panasonic: 4KTV-0SU
feat(device) detect brand Samsung: Galaxy W24 Flip (SM-W7024), Galaxy S24+ (SM-S926W, SM-S926U, SM-S926U1, SM-S926N, SM-S926B), Galaxy S24 (SM-S921W), Galaxy A15 5G (SM-A156W), Galaxy Tab A9+ 11.0" 5G (SM-X218U), Galaxy Tab A9 8.7" WiFi (SM-X110), Galaxy Tab S6 Lite 10.4" WiFi (SM-P620)
feat(device) detect brand Vivo: X Flip (V2256A), Y18s (V2410), Y75s (V2069BA), Y36t (V2327A), Y200 5G (V2343A), X100 Ultra (V2366HA), iQOO Z9 5G (I2218)
feat(device) detect brand OPPO: Reno 12 (PJV110), A60 (CPH2631), Reno 12 Pro 5G (CPH2629), Reno 12 5G (CPH2625)
feat(device) detect brand Oukitel: WP35
feat(device) detect brand Logicom: La Tab 79 (TAB76)
feat(device) detect brand Huawei: Honor Magic 6 RSR (BVL-N59)
feat(device) detect brand Xiaomi: Redmi 12 5G (A401XM), Redmi Pad Pro (2405CRPFDG)
feat(device) detect brand Kyocera: DuraForce Pro 3 (E7200)
feat(device) detect brand HMD: Pulse+, Pulse
feat(device) detect brand T-Mobile: T Phone 2
feat(device) detect brand Infinix: Note 40 5G (X6852)

Detect new brands: Atozee, Orange Pi, Relndoo, Rhino, Scoole, VIKUSHA and Detect devices for exist brands and Detect ZTE Browser (matomo-org#7730)
feat(client) detect browser: ZTE Browser
feat(device) detect new brand Orange Pi: 3 LTS
feat(device) detect new brand VIKUSHA: V-Z40
feat(device) detect brand Samsung: Galaxy Z Flip 4 (SM-F7210)
feat(device) detect brand OPPO: K12 5G (PJR110)
feat(device) detect brand POCO: Pad 12.1" (2405CPCFBG)
feat(device) detect brand Vivo: iQOO Z9 (V2361A), iQOO Neo 9S Pro (V2339FA)
feat(device) detect brand UMIDIGI: G5A (MP38)
feat(device) detect brand Vortex: ZG55
feat(device) detect brand HeadWolf: HPad1
feat(device) detect brand iTel: A50 (A667L), A18s (A513W), A33 Plus (A509WP), A58 Pro (A661WP)
feat(device) detect brand ZTE: Axon 11 5G
feat(device) detect brand Aligator: S5550
feat(device) detect new brand Atozee: YQ10S Max, YQ10S Gold
feat(device) detect new brand Relndoo: TB02
feat(device) detect new brand Rhino: Pace A1
feat(device) detect new brand Scoole: SL-LED32S49T2S
feat(device) detect brand Xiaomi: 14 Pro (23116PN5BG)
feat(device) detect brand OSCAL: Pilot 2
feat(device) detect brand Tanix: A3
feat(device) detect brand Soundmax: SM-LED32M13S, SM-LED43M01SU, SM-LED43M02S
feat(device) detect brand Erisson: 43FLES902T2SM, 43FLES901T2SM
feat(device) detect brand Thomson: TEOX10
feat(device) detect brand Zebra: TC27
feat(device) detect brand Aocwei: X700
feat(device) detect brand Oukitel: WP38
feat(device) detect brand CUBOT: X30P
feat(device) detect brand OPPO: X30P
feat(device) detect brand General Mobile: GM Phoenix 5G (G901)
feat(device) detect brand Sonim: XP10 (XP9900)
feat(device) detect brand Blu: G53, M10L Plus
feat(device) detect brand Xsmart: Core X
feat(device) detect brand Green Lion: G-10 Pro
feat(device) detect brand Realme: Reno 4 SE 5G
feat(device) detect brand Stylo: Inkosi Pro 4G
feat(device) detect brand Blackview: BV8100
feat(device) detect brand Ulefone: Armor 26 Ultra, Armor 22
feat(device) detect brand ZTE: Libero 5G IV (A302ZT), Blade X10 II Pro+ (T1004)
feat(device) detect brand Kalley: Silver Max Pro 2
feat(device) detect brand Majestic: Tab 918 Pro 4G
feat(device) detect brand Lenovo: Tab M8 (Gen 4) (2024) (TB301FU)
feat(device) detect brand Huawei: Honor Magic 6 Lite 5G (ALI-NX3)
feat(device) detect brand ZTE: Axon 60 (Z2356), Axon 50 Ultra 5G (A2024H)
feat(device) detect brand Eltex: NV-731-WB, NV-730-WB, NV-731

Improves detection for ARM platform (matomo-org#7731)

Detect new brands: BYYBUO, rephone, TJD and Detect devices for exist brands (matomo-org#7732)
feat(device) detect brand Vipro: S20
feat(device) detect brand Huawei: Honor X6b (JDY-LX1), Honor 200 (ELI-AN00)
feat(device) detect brand Brondi: Amico Smartphone S+
feat(device) detect brand Ulefone: Be Pro
feat(device) detect brand Wiko: Bloom 2
feat(device) detect brand Blackview: Hero 10
feat(device) detect brand EagleSoar: Z-F1010
feat(device) detect brand Asus: X Pad 10 LTE
feat(device) detect brand AEEZO: TK806
feat(device) detect brand China Telecom: Maimang A20 5G (TYH632M)
feat(device) detect new brand BYYBUO: SmartPad K7, SmartPad T10
feat(device) detect new brand rephone: rephone (Gen 1)
feat(device) detect new brand TJD: MT-1011QR
feat(device) detect brand Logicom: Five Pro, Solar Pro
feat(device) detect brand Klipad: KL605, KL638DK
feat(device) detect brand Vivo: iQOO 8, iQOO 8 Pro
feat(device) detect brand ONN: 100092980A
feat(device) detect brand Casper: VIA S40
feat(device) detect brand G-TiDE: H1
feat(device) detect brand QMobile: i6 Metal HD
feat(device) detect brand Huawei: MatePad 11.5" Air WiFi (DBY2-W00)
feat(device) detect brand Hiberg: 75Y UHD
feat(device) detect brand Doffler: 65KUS65
feat(device) detect brand BBK: 65LEX-8262/TS2C
feat(device) detect brand Leff: 24H510T
feat(device) detect brand DEXP: 75UCY1-G
feat(device) detect brand Hyundai: H-LED43EU1312, H-LED43GU7003, H-LED50EU1311, H-LED50GU7003, H-LED65BU7003, H-LED65GU7003, H-LED75BU7005, H-LED43FS5001, H-LED32FS5001, H-LED32FS5003, H-LED32GS5003, H-LED40FS5001, H-LED40FS5003, H-LED42FS5001, H-LED42FS5003, H-LED65EU1311
feat(device) detect brand Hyundai: H-LED43FS5001
feat(device) detect brand ECON: EX-50US003B
feat(device) detect brand Leff: 55U510S, 50U510S

Improves detection for Owler (matomo-org#7735)

* chore: generate indexes
  • Loading branch information
sanchezzzhak authored Jul 10, 2024
1 parent 701f106 commit 3e72262
Show file tree
Hide file tree
Showing 41 changed files with 7,266 additions and 2,453 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Port php lib [matomo-org/device-detector](https://github.com/matomo-org/device-d
![YAML Lint](https://github.com/sanchezzzhak/node-device-detector/workflows/YAML%20Lint/badge.svg?branch=master)
![Prettier](https://github.com/sanchezzzhak/node-device-detector/workflows/Prettier/badge.svg?branch=master)
![CodeQL](https://github.com/sanchezzzhak/node-device-detector/workflows/CodeQL/badge.svg?branch=master)
[![Featured on Openbase](https://badges.openbase.com/js/featured/node-device-detector.svg?token=5WrtsBbraPlUMJtKRE7o5w9fmuVUjXBHmiO0Pr/38v0=)](https://openbase.com/js/node-device-detector?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)
## Contents

+ [Helpers](#helpers)
Expand Down Expand Up @@ -412,7 +411,7 @@ detector.detect (indexes on) x 1,032 ops/sec ±0.61% (94 runs sampled)
</details>

### What about tests?
Yes we use tests, total tests ~78.1k
Yes we use tests, total tests ~78.6k

### Get more information about a device (experimental)
> This parser is experimental and contains few devices. (1833 devices, alias devices 3899)
Expand Down
2 changes: 1 addition & 1 deletion parser/client/browser-short-mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ module.exports = [
'H5', 'V3', 'G2', 'BG', 'OL', 'II', 'TL', 'M6', 'Y3',
'M7', 'GN', 'D3', 'IG', 'HW', '4O', 'OU', '5P', 'KE',
'5A', 'TT', '6P', 'G3', '7P', 'VU', 'F8', 'L4', 'DK',
'DP', 'KL', 'K4', 'N6', 'KU', 'WK',
'DP', 'KL', 'K4', 'N6', 'KU', 'WK', 'M8', 'UP', 'ZT',

];
5 changes: 5 additions & 0 deletions parser/client/browser-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ module.exports = {
'I6': 'iDesktop PC Browser',
'IC': 'iCab',
'I2': 'iCab Mobile',
'4I': 'iNet Browser',
'I1': 'Iridium',
'I3': 'Iron Mobile',
'I4': 'IceCat',
Expand Down Expand Up @@ -349,6 +350,7 @@ module.exports = {
'MU': 'MIUI Browser',
'MS': 'Mobile Silk',
'MK': 'Mogok Browser',
'M8': 'Motorola Internet Browser',
'MN': 'Minimo',
'MT': 'Mint Browser',
'MX': 'Maxthon',
Expand Down Expand Up @@ -570,6 +572,7 @@ module.exports = {
'UM': 'UC Browser Mini',
'UT': 'UC Browser Turbo',
'UI': 'Ui Browser Mini',
'UP': 'UPhone Browser',
'UR': 'UR Browser',
'UZ': 'Uzbl',
'UE': 'Ume Browser',
Expand All @@ -587,6 +590,7 @@ module.exports = {
'VB': 'Vision Mobile Browser',
'V4': 'Vertex Surf',
'VM': 'VMware AirWatch',
'V6': 'VMS Mosaic',
'VK': 'Vonkeror',
'VU': 'Vuhuv',
'WI': 'Wear Internet Browser',
Expand Down Expand Up @@ -632,6 +636,7 @@ module.exports = {
'ZV': 'Zvu',
'ZI': 'Zirco Browser',
'ZR': 'Zordo Browser',
'ZT': 'ZTE Browser',
// detected browsers in older versions
// 'IA': 'Iceape',: pim
// 'SM': 'SeaMonkey',: pim
Expand Down
11 changes: 11 additions & 0 deletions parser/device/brand-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ module.exports = {
'5Q': 'Atmaca Elektronik',
'YH': 'ATMAN',
'2A': 'Atom',
'AT1': 'Atozee',
'ATO': 'ATOL',
'Z2': 'Atvio',
'ATI': 'Attila',
Expand Down Expand Up @@ -222,6 +223,7 @@ module.exports = {
'4Q': 'Bundy',
'Y8': 'Bubblegum',
'BMW': 'BMW',
'BYY': 'BYYBUO',
'C9': 'CAGI',
'CAD': 'CADENA',
'CT': 'Capitel',
Expand Down Expand Up @@ -673,6 +675,7 @@ module.exports = {
'JH': 'HOTREALS',
'HW': 'How',
'WH': 'Honeywell',
'HON': 'HongTop',
'HP': 'HP',
'HDC': 'HDC',
'HT': 'HTC',
Expand Down Expand Up @@ -1066,6 +1069,7 @@ module.exports = {
'7Q': 'Neon IQ',
'8F': 'Neolix',
'NET': 'NetBox',
'NWT': 'NETWIT',
'NA': 'Netgear',
'NEM': 'Netmak',
'NU': 'NeuImage',
Expand Down Expand Up @@ -1163,6 +1167,7 @@ module.exports = {
'OPT': 'Optoma',
'OPH': 'Ophone',
'OR': 'Orange',
'ORP': 'Orange Pi',
'ORA': 'Orava',
'O5': 'Orbic',
'Y6': 'Orbita',
Expand Down Expand Up @@ -1300,6 +1305,7 @@ module.exports = {
'RC': 'RCA Tablets',
'2R': 'Reach',
'REL': 'RelNAT',
'RE4': 'Relndoo',
'RB': 'Readboy',
'RE': 'Realme',
'RE1': 'Redbean',
Expand All @@ -1314,6 +1320,8 @@ module.exports = {
'REV': 'Revomovil',
'8R': 'Retroid Pocket',
'REN': 'Renova',
'REP': 'rephone',
'RHI': 'Rhino',
'RIC': 'Ricoh',
'RI': 'Rikomagic',
'RM': 'RIM',
Expand Down Expand Up @@ -1371,6 +1379,7 @@ module.exports = {
'Y4': 'SCBC',
'CZ': 'Schneider',
'SCO': 'Scosmos',
'SC1': 'Scoole',
'ZG': 'Schok',
'G8': 'SEG',
'SEX': 'SEHMAX',
Expand Down Expand Up @@ -1551,6 +1560,7 @@ module.exports = {
'TZ': 'teXet',
'29': 'Teknosa',
'JZ': 'TJC',
'TJD': 'TJD',
'JC': 'TENPLUS',
'T4': 'ThL',
'TN': 'Thomson',
Expand Down Expand Up @@ -1682,6 +1692,7 @@ module.exports = {
'VD': 'Videocon',
'VW': 'Videoweb',
'VS': 'ViewSonic',
'VIK': 'VIKUSHA',
'V7': 'Vinga',
'V3': 'Vinsoc',
'XD': 'Vinabox',
Expand Down
2 changes: 1 addition & 1 deletion parser/os-abstract-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class OsAbstractParser extends ParserAbstract {
* @return {string}
*/
parsePlatform(userAgent) {
if (this.getBaseRegExp('arm|.*arm64|aarch64|Apple ?TV|Watch ?OS|Watch1,[12]').test(userAgent)) {
if (this.getBaseRegExp('arm[ _;)ev]|.*arm$|.*arm64|aarch64|Apple ?TV|Watch ?OS|Watch1,[12]').test(userAgent)) {
return 'ARM';
}
if (this.getBaseRegExp('loongarch64').test(userAgent)) {
Expand Down
2 changes: 1 addition & 1 deletion regexes/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3666,7 +3666,7 @@
name: 'Meltwater Deutschland GmbH'
url: 'https://www.meltwater.com/'

- regex: '(?:Owler@ows\.eu|OWLer)/[\d.]+'
- regex: 'owler'
name: 'OWLer'
category: 'Crawler'
url: 'https://openwebsearch.eu/owler/'
Expand Down
Loading

0 comments on commit 3e72262

Please sign in to comment.