@@ -120,6 +120,9 @@ class Mobile {
120120 return ;
121121 }
122122 if ( ( match = / (?: S A M S U N G ; ) ? S A M S U N G ? [ - \/ ] ? ( [ ^ ; \/ \) _ , ] + ) / iu. exec ( ua ) ) ) {
123+ if ( match [ 1 ] === 'Browser' ) {
124+ return ;
125+ }
123126 this . data . device . manufacturer = 'Samsung' ;
124127 this . data . device . model = DeviceModels . cleanup ( match [ 1 ] ) ;
125128 this . data . device . identifier = match [ 0 ] ;
@@ -208,7 +211,7 @@ class Mobile {
208211 return ;
209212 }
210213 if (
211- ! / ( T - M o b i l e | D a n g e r | H P i P A Q | A c e r | A m o i | A I R N E S S | A S U S | B e n Q | m a u i | A L C A T E L | B i r d | C O O L P A D | C E L K O N | C o s h i p | C r i c k e t | D E S A Y | D i a m o n d | d o p o d | E r i c s s o n | F L Y | G I O N E E | H a i e r | H I K e | H i s e n s e | H S | H T C | T [ 0 - 9 ] { 4 , 4 } | H U A W E I | K a r b o n n | K W C | K O N K A | K T O U C H | K - T o u c h | L e n o v o | L e p h o n e | L G | M i c r o m a x | M O T | N e x i a n | N E C | N G M | O P P O | P a n a s o n i c | P a n t e c h | P h i l i p s | S a g e m | S a n y o | S a m | S E C | S G H | S C H | S I E | S o n y | S E | S H A R P | S p i c e | T e c n o | T - s m a r t | T C L | T i p h o n e | T o s h i b a | U T S t a r | V i d e o c o n | v k | V o d a f o n e | X i a o m i | Z T E | W A P ) / iu. test (
214+ ! / ( T - M o b i l e | D a n g e r | H P i P A Q | A c e r | A m o i | A I R N E S S | A S U S | B e n Q | m a u i | A L C A T E L | B i r d | C O O L P A D | C E L K O N | C o s h i p | C r i c k e t | D E S A Y | D i a m o n d | d o p o d | E r i c s s o n | F L Y | G I O N E E | G T - | H a i e r | H I K e | H i s e n s e | H S | H T C | T [ 0 - 9 ] { 4 , 4 } | H U A W E I | K a r b o n n | K W C | K O N K A | K T O U C H | K - T o u c h | L e n o v o | L e p h o n e | L G | M i c r o m a x | M O T | N e x i a n | N E C | N G M | O P P O | P a n a s o n i c | P a n t e c h | P h i l i p s | S a g e m | S a n y o | S a m | S E C | S G H | S C H | S I E | S o n y | S E | S H A R P | S p i c e | T e c n o | T - s m a r t | T C L | T i p h o n e | T o s h i b a | U T S t a r | V i d e o c o n | v k | V o d a f o n e | V S U N | W y n n c o m | X i a o m i | Y U A N D A | Z e n | Z i o x | Z T E | W A P ) / iu. test (
212215 ua
213216 )
214217 ) {
@@ -405,7 +408,7 @@ class Mobile {
405408 manufacturer : 'Motorola' ,
406409 model : ( model ) => model . toUpperCase ( ) ,
407410 } ) ;
408- this . data . device . identifyModel ( / M o t o r o l a [ _ ] ( [ ^ \/ _ ; ] + ) / iu, ua , {
411+ this . data . device . identifyModel ( / M o t o r o l a [ _ ] ( [ ^ \/ _ ; \) ] + ) / iu, ua , {
409412 type : Constants . deviceType . MOBILE ,
410413 manufacturer : 'Motorola' ,
411414 } ) ;
@@ -556,17 +559,33 @@ class Mobile {
556559 type : Constants . deviceType . MOBILE ,
557560 manufacturer : 'Videocon' ,
558561 } ) ;
559- this . data . device . identifyModel ( / V o d a f o n e (?: [ _ - ] C h a t ) ? [ _ - ] ? ( [ 0 - 9 ] + ) / u , ua , {
562+ this . data . device . identifyModel ( / V o d a f o n e (?: [ _ - ] C h a t ) ? [ _ - ] ? ( [ 0 - 9 ] + ) / iu , ua , {
560563 type : Constants . deviceType . MOBILE ,
561564 manufacturer : 'Vodafone' ,
562565 } ) ;
563566 this . data . device . identifyModel ( / V o d a f o n e \/ [ 0 - 9 . ] + \/ ( v [ 0 - 9 ] + ) [ ^ \/ ] * \/ / u, ua , {
564567 type : Constants . deviceType . MOBILE ,
565568 manufacturer : 'Vodafone' ,
566569 } ) ;
567- this . data . device . identifyModel ( / X i a o m i [ _ ] ? ( [ ^ \s ] + ) / iu, ua , {
570+ this . data . device . identifyModel ( / ^ V S U N ( [ 0 - 9 ] + [ A - Z ] ? ) / iu, ua , {
571+ type : Constants . deviceType . MOBILE ,
572+ manufacturer : 'Vsun' ,
573+ } ) ;
574+ this . data . device . identifyModel ( / W y n n c o m [ \- \s ] ( [ A - Z 0 - 9 \s ] + \+ ? ) / iu, ua , {
575+ type : Constants . deviceType . MOBILE ,
576+ manufacturer : 'Wynncom' ,
577+ } ) ;
578+ this . data . device . identifyModel ( / ^ Y U A N D A ( [ 0 - 9 ] + [ A - Z ] ? ) / iu, ua , {
579+ type : Constants . deviceType . MOBILE ,
580+ manufacturer : 'Yuanda' ,
581+ } ) ;
582+ this . data . device . identifyModel ( / ^ Z E N [ _ \s ] ( [ A - Z 0 - 9 \s \+ ] + ) \* ? [ \s _ ] ? ( | \/ | - | ; | D o r a d o | M A U I | W A P | R 2 A E | Q 0 3 C ) / iu, ua , {
583+ type : Constants . deviceType . MOBILE ,
584+ manufacturer : 'Zen' ,
585+ } ) ;
586+ this . data . device . identifyModel ( / ^ (?: Z i o x [ _ \s ] ) ? Z i o x [ _ \s ] ( Z X ? [ 0 - 9 ] + ) / iu, ua , {
568587 type : Constants . deviceType . MOBILE ,
569- manufacturer : 'Xiaomi ' ,
588+ manufacturer : 'Ziox ' ,
570589 } ) ;
571590 this . data . device . identifyModel ( / Z T E [ - _ \s ] ? ( [ ^ \s \/ ( ) ; , ] + ) / iu, ua , {
572591 type : Constants . deviceType . MOBILE ,
0 commit comments