mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 08:28:47 +03:00
Add regex for Blackberry browser
This commit is contained in:
parent
fb60021525
commit
81cf1a650c
@ -305,6 +305,9 @@
|
|||||||
/(webkit|khtml)\/([\w\.]+)/i
|
/(webkit|khtml)\/([\w\.]+)/i
|
||||||
], [NAME, VERSION], [
|
], [NAME, VERSION], [
|
||||||
|
|
||||||
|
/(blackberry)\\s?\/([\w\.]+)/i // Blackberry
|
||||||
|
], [[NAME, "BlackBerry"], VERSION], [
|
||||||
|
|
||||||
// Gecko based
|
// Gecko based
|
||||||
/(navigator|netscape)\/([\w\.-]+)/i // Netscape
|
/(navigator|netscape)\/([\w\.-]+)/i // Netscape
|
||||||
], [[NAME, 'Netscape'], VERSION], [
|
], [[NAME, 'Netscape'], VERSION], [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user