180 Commits

Author SHA1 Message Date
Shane Thacker
23160c9fb3 Added hasOwnProperty check
This ensures that the result output is clean of extended type methods
2015-11-01 12:34:54 -06:00
Liam Quinn
01ba36c94d Generalize the check for an unidentifiable mobile or tablet to correctly
categorize unidentifiable Android smartphones as "mobile".
2015-10-29 10:24:44 -04:00
Faisal Salman
f670224d8e Merge pull request #140 from 0x7f/playstation4
Add Playstation 4 support.
2015-10-17 05:31:21 +07:00
Maximilian Haupt
0aafba67fa Detect Nexus 6 as Motorola only.
The commit 3964971c3 added Nexus 6 to LG and Motorola, but it should be
Motorola only, as stated in the according commit message anyways.
2015-10-16 15:01:57 +00:00
Maximilian Haupt
ab6a56d931 Add Playstation 4 support. 2015-10-16 14:14:56 +00:00
Malash
792dc0246a Rewrite util.extend to a clone version 2015-10-10 15:53:17 +08:00
Aamir Poonawalla
3964971c38 Added Nexus 6 detection
Correctly identifies a Nexus 6 device as being a Motorola mobile device.
2015-09-21 13:34:56 -07:00
Pieter Hendrickx
a19c6be712 Added DEVICE regular expressions for "Samsung galaxy S6" and "Samsung Galaxy S6 Edge" devices + test cases 2015-08-20 09:00:16 +02:00
Malash
172d63a28f fix support for UCBrowser 2015-08-05 19:47:48 +08:00
Faisal Salman
992e829643 Verup 0.7.9 2015-07-19 04:00:01 +07:00
Faisal Salman
d3a2e1750b Merge branch 'master' of github.com:faisalman/ua-parser-js 2015-07-19 02:22:22 +07:00
Faisal Salman
7e23d53e4b Merge branch 'master' of github.com:faisalman/ua-parser-js 2015-07-19 02:03:50 +07:00
Simon Eisenmann
892476f544 Added detection for Iridium Browser. 2015-07-17 16:10:59 +02:00
Faisal Salman
a165e152de Merge pull request #119 from roberttod/patch-1
Reference window as global if available
2015-07-04 01:39:19 +07:00
ddivernois
aa1bf53337 Adding PhantomJS (http://phantomjs.org/) 2015-07-01 11:23:56 +02:00
Demis Palma
8d9cd21331 palm os regexp fixed
The regexp won't work as expected because the meta-character \o doesn't make sense.
Replaced with \s which indicates "whitespace character"
2015-06-18 23:32:15 +01:00
Robert Tod
f117f600ba Reference window as global if available
This change will use `window` by default if it exists so that `browserify` and `Webpack` builds do not need to do something like

```javascript
var parser = new UAParser(window.navigator.userAgent)
```

https://github.com/faisalman/ua-parser-js/issues/84
2015-06-10 17:35:16 +01:00
Faisal Salman
22e17fb004 Add Sleipnir 2015-05-11 23:44:34 +07:00
Faisal Salman
978ee5a4da Add Firefox for iOS 2015-05-11 23:33:57 +07:00
Nik Rolls
4203f8144f Microsoft Edge is not IE12 2015-05-08 18:02:05 +12:00
Faisal Salman
21a525f442 Add layout engine: EdgeHTML 2015-05-07 04:59:01 +07:00
Faisal Salman
1fa7137f1f Fix #111 2015-04-29 11:29:54 +07:00
Admas
c7749b3a2a Adding WIndows 10 IE regex
IE 12 for windows 10 uses gets caught as chrome:
https://msdn.microsoft.com/en-us/library/ie/hh869301%28v=vs.85%29.aspx

Now we search for Edge and mark it as IE
2015-04-17 09:23:28 -07:00
Faisal Salman
3d2d8d5d84 Fix jshint eror 2015-04-15 01:39:21 +07:00
Faisal Salman
cce9dc1474 Add meteor support 2015-04-07 02:40:50 +07:00
Faisal Salman
fa6f8de25f Increment patch version to 0.7.4 2015-04-07 01:41:46 +07:00
Faisal Salman
6a284e2670 Temporarily comment device models to be moved soon 2015-04-07 01:37:14 +07:00
Faisal Salman
a5cb2d8821 Fix #100: Detect NT 10.0 as Windows 10 2015-03-29 09:57:34 +07:00
Faisal Salman
fe133e4228 Merge pull request #102 from demis-palma/patch-3
Unneeded comma
2015-03-10 22:48:42 +07:00
Demis Palma
89a3a21ce3 Unneeded comma
Removed last comma in array literal
2015-02-27 17:57:27 +00:00
Demis Palma
3c911f2dd4 Character class may not be used inside character range
Additional information and examples at http://stackoverflow.com/questions/15321938/regex-character-class-inside-character-range-failing-intellijs-jslint-inspectio
2015-02-27 17:42:20 +00:00
Faisal Salman
69c688810d Merge from @algenon 2015-02-27 11:55:52 +07:00
otakuSiD
5dcc4db665 Get rid of duplicate Xiaomi detection 2015-02-26 15:19:09 +02:00
Dmitry Tyschenko
af9fc69161 Added Facebook application browser 2015-02-05 12:31:47 +02:00
Anton Zhiyanov
feed5498eb Refactor Xiaomi regexps 2015-02-02 19:54:46 +03:00
Anton Zhiyanov
2e87b02dda Add Vivaldi browser 2015-02-02 19:53:29 +03:00
Dmitry Tyschenko
f6b22d6654 Added Xperia Z, Galaxy, Oppo, Advan, i-mobile 2015-01-30 11:17:01 +02:00
Austin Pray
7cae802f3c fixes typeof 2015-01-28 13:01:03 -06:00
algenon
9d383c5395 Add Xiaomi devices 2015-01-25 17:54:39 +03:00
algenon
1eeb1face1 Add Android Browser and Xiaomi MIUI Browser 2015-01-25 17:39:15 +03:00
Sylvain Gizard
7d5e50f008 Remove duplication 2014-12-18 16:26:38 +01:00
Sylvain Gizard
50c4e3e551 Trailing whitespace 2014-12-18 16:04:24 +01:00
Sylvain Gizard
5002ea0846 Rough detection of Sony Xperia phones and tablets 2014-12-18 16:04:08 +01:00
sgautrea
744c9bf0bd Update ua-parser.js
Adding regex for Nexus 9 tablet
2014-12-02 16:08:47 -05:00
Dumitru Uzun
551fbf100c Keep global scope clean with AMD. Always check for jQuery global.
If an AMD environment, don't export `UAParser` to global scope.
Even in AMD environment jQuery exports to global scope. We should catch it even then.
It also can happen then one joins the jQuery source file with other jQuery plugins in a CommonJS env.
2014-11-20 12:32:31 +02:00
Faisal Salman
e725633328 Fix #24 #80 2014-11-20 07:15:18 +07:00
Vadim Kurachevsky
9256ed4186 Moto X, G, Razr Mobile detection
Moto RAZR: 
Mozilla/5.0 (Linux; Android 4.0.4; XT910 Build/6.7.2-180_SPU-19-TA-11.6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.135 Mobile Safari/537.36
Moto X:
Mozilla/5.0 (Linux; U; Android 4.2; xx-xx; XT1058 Build/13.9.0Q2.X-70-GHOST-ATT_LE-2) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Moto G:
Mozilla/5.0 (Linux; Android 4.4.2; XT1033 Build/KXB20.25-1.31) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.136 Mobile Safari/537.36
2014-11-19 10:38:48 +02:00
Faisal Salman
70d629ca71 Extract major from version instead of directly using regex 2014-11-10 18:43:04 +07:00
Faisal Salman
0951cebd09 Update patch version to 0.7.3 2014-11-09 21:08:48 +07:00
Faisal Salman
0a2b05c6fd Fix #77: Standardize OS name for Mac OS 2014-11-08 09:55:26 +07:00