1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00
Commit Graph

232 Commits

Author SHA1 Message Date
Denis Demchenko
f202c1cd30 Eslint fixes 2018-06-27 23:11:52 +03:00
Denis Demchenko
45ac881a5e Fix credits 2018-06-27 23:04:46 +03:00
Denis Demchenko
6f3b13f9fd Replace the main bowser file 2018-06-27 22:52:43 +03:00
Denis Demchenko
ad2589f699 Add eslint support 2017-12-20 23:29:06 +02:00
Denis Demchenko
b1170af9d8 TYPES → TYPES_LABELS 2017-12-20 22:48:23 +02:00
Denis Demchenko
bee21ea5c3 Fix small mistypos 2017-12-20 22:48:05 +02:00
Denis Demchenko
b15544770a Remove old useragents list 2017-12-20 22:47:50 +02:00
Denis Demchenko
778fdb6004 Add Microsoft Edge cases 2017-12-20 22:34:29 +02:00
Denis Demchenko
36db325c62 Fix browsers parser 2017-08-20 18:22:28 +03:00
Denis Demchenko
47c6614750 Export Bowser 2017-08-20 18:22:00 +03:00
Denis Demchenko
5c753edb75 Fix macOS version parsing 2017-08-17 23:55:21 +03:00
Denis Demchenko
7db868cc29 Fix macOS version parser
Make it able to read all the numbers with dots
2017-08-17 23:35:40 +03:00
Denis Demchenko
6976da7da5 Make versions of browsers non-required properties 2017-08-17 23:33:46 +03:00
Denis Demchenko
efce17881f Fix iPhone and iPod detection 2017-06-09 23:49:08 +03:00
Denis Demchenko
a794b10797 Add an engines parser 2017-06-09 23:04:43 +03:00
Denis Demchenko
c3ad15e0ff Add more jsdoc for parsePlatform 2017-06-09 22:15:19 +03:00
Denis Demchenko
4fc00cc427 Add more details about parsed Amazon device 2017-06-09 22:08:48 +03:00
Denis Demchenko
3da8552f0f Define Galaxy Nexus as a mobile type 2017-06-09 21:59:34 +03:00
Denis Demchenko
bca14f50c8 Add description for parser-platforms 2017-06-09 21:58:44 +03:00
Denis Demchenko
a65540dc15 Add platform parser 2017-06-09 01:12:44 +03:00
Denis Demchenko
38320b1409 Change Bowser's constructor 2017-06-09 01:12:21 +03:00
Denis Demchenko
2c8f17b037 Add Linux detection 2017-06-08 23:35:08 +03:00
Denis Demchenko
d5a439f097 Fix Android detection 2017-06-08 23:32:11 +03:00
Denis Demchenko
39afeb5615 Replace OS version regexps by more greedy ones 2017-06-08 23:01:16 +03:00
Denis Demchenko
3cd9da66ae Add support of rendering engines 2017-06-08 22:34:58 +03:00
Denis Demchenko
19646053ce Complete Bowser's methods by call a Parser instance 2017-06-08 21:26:05 +03:00
Denis Demchenko
5a235015aa Add jsdoc descriptions for Parser's methods 2017-06-08 20:51:04 +03:00
Denis Demchenko
6b5974af2e Add more OS descriptors 2017-05-18 23:56:26 +03:00
Denis Demchenko
59fc2d639f Add Windows OS descriptor 2017-05-18 23:14:31 +03:00
Denis Demchenko
f5be32be3b Merge branch 'master' into v2 2017-05-18 23:01:05 +03:00
Denis Demchenko
8b37abf268 Change descriptors naming and add some information about them 2017-05-18 22:57:18 +03:00
rkurbatov
b066f9bdeb adds MacOS support 2017-05-18 00:41:09 +03:00
rkurbatov
98538362b3 adds windows version detection 2017-05-18 00:28:51 +03:00
Denis Demchenko
b057077b68 Add OS parsing 2017-04-15 22:50:07 +03:00
Denis Demchenko
c50d0449d3 Add Parser#getBrowserName and Parser#getBrowserVersion 2017-04-09 22:46:23 +03:00
Denis Demchenko
ce885847ce Fix version matching 2017-04-09 22:30:19 +03:00
Denis Demchenko
d57094d857 Finish Parser#_parseBrowser function 2017-04-09 22:09:47 +03:00
Denis Demchenko
9e46db26ed make public getBrowser and private parseBrowser 2017-04-09 19:16:38 +03:00
Denis Demchenko
3bb6654320 Continue writing 2017-04-09 17:13:00 +03:00
Denis Demchenko
575ba8076e fist commit 2017-04-04 23:03:47 +03:00
Dmitri Voronianski
29bb872ab2 fix global exports 2016-11-29 15:22:28 +01:00
Denis Demchenko
c7d663a7b5 Add tests for some devices on Windows
related to #89
2016-11-03 17:37:36 +02:00
Denis Demchenko
8b92707e7b Throw an error when minVersion map has not a string as a browser version
fixes #165
2016-10-31 11:07:53 +02:00
Benoit de La Forest
9f31efa62f Fix WindowsPhone flagged as iOS
Related to !168
2016-10-28 13:03:07 +02:00
Benoit de La Forest
e44ca1de6e fix windowsphone flagged as android
Closes #167
2016-10-27 17:52:03 +02:00
Denis Demchenko
27c7f5b294 Fix mobile Opera's version detection
refers to #158
2016-09-19 22:58:37 +03:00
Denis Demchenko
21b9e617a1 Merge branch 'eb_samsungBrowser' of https://github.com/eriben/bowser into eriben-eb_samsungBrowser 2016-08-30 00:17:37 +03:00
Erik Bengtsson
b9d0ed6fd8 Added support for Samsung Internet for Android 2016-08-27 12:22:38 -04:00
devel-pa
c7778c550e Act safe in case navigator doesn't have a userAgent. 2016-08-24 18:30:09 +02:00
Chris
1c042f96aa Fix #150 2016-08-08 10:37:02 -04:00
Maksim Ryzhikov
2de21e77f0 fix: Error Object doesn't support this property or method fixes #147 2016-07-26 18:16:33 +03:00
Denis Demchenko
e3be8145dc fix strictMode 2016-07-07 18:18:48 +03:00
Denis Demchenko
1729a5971b fix jsdoc declaration 2016-07-07 18:17:49 +03:00
Denis Demchenko
3f90c80425 fix code styleguide: 4 spaces → 2 spaces 2016-07-07 18:03:29 +03:00
Denis Demchenko
a28903bd29 fix strictMode for isUnsupportedBrowser 2016-07-07 18:02:18 +03:00
Nir Rattner
65dfb0918c Fix strict mode logic 2016-07-06 17:01:02 -04:00
Denis Demchenko
5bf468659a fix type detection of chromium browsers
fix #142
2016-06-30 21:13:02 +03:00
Denis Demchenko
b84c5c09fb fix mistype 2016-06-28 11:16:11 +03:00
Alexander Lukin
134aeede53 add support for optional ua parameter 2016-06-16 16:01:45 +03:00
Alexander Lukin
c30f6d41d9 fix isUnsupportedBrowser documentation 2016-06-16 13:49:18 +03:00
Alexander Lukin
43ac868d84 export bowser.check 2016-06-16 13:45:24 +03:00
Alexander Lukin
ec7531e8cb remove @see jsbin comment 2016-06-16 13:43:48 +03:00
Alexander Lukin
24b91a4dab fix comments 2016-06-16 13:41:21 +03:00
Alexander Lukin
c77cf0ae1b refactoring: use map instead of direct Array::map 2016-06-16 13:39:05 +03:00
Alexander Lukin
b51a35e006 add Array::map polyfill to compatible with es4 2016-06-16 13:38:25 +03:00
Alexander Lukin
c9eed902e3 add check method 2016-06-16 13:07:46 +03:00
Alexander Lukin
57a45d1dee fix comments 2016-06-16 13:07:46 +03:00
kerbyfc
6715bb2b08 Implement isUnsupportedBrowser method
See http://jsbin.com/vohahaciku/1/edit?js,console
2016-06-16 13:07:35 +03:00
Denis Demchenko
e817fd67a7 add SlimerJS support
close #141
2016-05-19 00:57:34 +03:00
Denis Demchenko
6749f62528 add Chromium detecting
related to #94
2016-05-10 23:25:56 +03:00
Denis Demchenko
542277ceb7 add Xbox detection
#fix 139
2016-05-09 10:40:47 +03:00
Denis Demchenko
277202172b add some browsers from #73
fix #73
2016-05-09 10:18:11 +03:00
Denis Demchenko
891f98100f add Puffin detection
fix #68
2016-05-09 10:02:20 +03:00
Denis Demchenko
78ee04fa37 fix Android tablet detection
fix #136
2016-05-09 09:45:18 +03:00
Denis Demchenko
b9edb72e2f add Epiphany browser
fix #130
2016-05-09 09:18:00 +03:00
Denis Demchenko
40fc55f393 add blink flag when we can suppose it
fix #134
2016-05-09 09:06:32 +03:00
Denis Demchenko
d6fb6d5358 fix order: Chrome should be almost lowest, but before Safari 2016-05-08 15:08:19 +03:00
Denis Demchenko
4ac5b4e14d add Opera Coast detection
fix #133
2016-05-08 14:58:18 +03:00
Denis Demchenko
0b120a860c add tests for UC Browser on iOS 2016-05-08 14:41:55 +03:00
Denis Demchenko
e55dd78792 add support of Maxthon browser on iOS 2016-05-08 14:37:10 +03:00
Denis Demchenko
35f635b845 add iOS Safari and Chrome to the tests 2016-05-08 14:27:24 +03:00
Denis Demchenko
62745525df add support firefox for iOS 2016-05-08 14:24:36 +03:00
Denis Demchenko
197c203e11 fix Safari browser name on iOS 2016-05-07 18:55:19 +03:00
Denis Demchenko
83182d28a0 add iOS 9 support
fix #132
2016-05-07 15:57:04 +03:00
Denis Demchenko
0abf17a0c4 fix main file in package managers specs 2016-05-06 21:45:03 +03:00
Denis Demchenko
80af774724 remove minified file from git 2016-05-06 21:29:22 +03:00
Denis Demchenko
5b67843977 add nexus mobile to detection 2016-04-16 19:00:31 +03:00
Denis Demchenko
71b69e822d Merge branch 'fix-nexus-mobile-tablet' of git://github.com/daemon1981/bowser into daemon1981-fix-nexus-mobile-tablet 2016-04-16 18:54:58 +03:00
Denis Demchenko
31805826f3 Merge branch 'vivaldi-support' of git://github.com/pokono/bowser into pokono-vivaldi-support
# Conflicts:
#	README.md

merging #120
2016-04-16 18:53:36 +03:00
Denis Demchenko
e5a4bf15bc Merge branch 'QupZilla' of git://github.com/yconoclast/bowser into yconoclast-QupZilla
# Conflicts:
#	README.md
#	src/useragents.js
2016-04-15 00:01:11 +03:00
Denis Demchenko
ffe414a319 Merge branch 'yconoclast-ucbrowser' into develop
# Conflicts:
#	src/useragents.js
2016-04-14 23:45:04 +03:00
Denis Demchenko
468cf69679 Merge branch 'ucbrowser' of git://github.com/yconoclast/bowser into yconoclast-ucbrowser
# Conflicts:
#	src/bowser.js
2016-04-14 23:43:37 +03:00
Denis Demchenko
a763bb43e5 Merge branch 'master' of git://github.com/weo-edu/bowser into weo-edu-master
# Conflicts:
#	bowser.js
#	bowser.min.js
#	src/bowser.js
#	src/useragents.js
2016-04-14 23:25:31 +03:00
Damien Saillard
ad0e2ee636 fix eventual nexus 0 to 3 being mobile 2016-01-27 14:23:38 +01:00
Damien Saillard
6f151970bf fix nexus 7 to 9 considered as a mobile 2016-01-27 10:14:11 +01:00
Ivan Carosati
23697032da Added support for grade a. 2015-12-07 16:19:56 -05:00
Ivan Carosati
b98e37c6ac Vivaldi version number is now parsed correctly. 2015-12-07 16:17:10 -05:00
Ivan Carosati
b01795c475 Fixed typo. 2015-12-07 16:13:48 -05:00
Ivan Carosati
14f16d6120 Trying to get version number to validate. 2015-12-07 16:12:18 -05:00
Ivan Carosati
fb5ddeadcb Added Vivaldi case. 2015-12-07 16:09:18 -05:00