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

64 Commits

Author SHA1 Message Date
everget
04ece2212d Correct Microsoft Edge' detection on iOS and Android 2017-10-20 15:05:55 +03:00
Jesse Smick
5d314dfb2f Update useragent test for osname 2017-10-07 11:37:21 +03:00
Denis Demchenko
9f8ad07aa4 Merge branch 'hotfix/1.7.3'
# Conflicts:
#	CHANGELOG.md
2017-08-30 08:54:25 +03:00
Jason Pang
21a0a0ce72 Fix Chrome detection for Android 8 OPR6 build num
One of Android 8's build numbers is 'opr6.170623.013'. This is expressed
in the user agent as:

"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPR6.170623.013)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.107 Mobile
Safari/537.36"

Because this library detects the Opera browser if "opera", "opr", or
"opios" is contained in the user agent, the above user agent string is
incorrectly detected as a versionless Opera, instead of Chrome 60.

This commit changes the detection of "opr" to require a trailing slash
'/' character. This works because uild numbers are expressed as
Build/X..., whereas Opera versions are expressed as OPR/X.

fixes #193
2017-08-30 08:51:19 +03:00
Denis Demchenko
744d89089a Add test for Safari on iOS 11 Preview
related to #180
2017-06-24 23:32:15 +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
c7d663a7b5 Add tests for some devices on Windows
related to #89
2016-11-03 17:37:36 +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
Erik Bengtsson
b9d0ed6fd8 Added support for Samsung Internet for Android 2016-08-27 12:22:38 -04:00
Denis Demchenko
5bf468659a fix type detection of chromium browsers
fix #142
2016-06-30 21:13:02 +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
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
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
6f151970bf fix nexus 7 to 9 considered as a mobile 2016-01-27 10:14:11 +01:00
Ivan Carosati
b01795c475 Fixed typo. 2015-12-07 16:13:48 -05:00
Ivan Carosati
80d0934c00 Added Vivaldi headers. 2015-12-07 16:06:51 -05:00
Jose Tavares
d22d9207cb fix #100 - Exception with QupZilla 2015-10-18 20:21:29 +01:00
Jose Tavares
1fa7c01a85 fix #107 - uc browser is not detect using this library 2015-10-18 20:06:08 +01:00
Will Binns-Smith
32e2bc4807 Expose the UA's os as a property on the results 2015-10-08 22:11:24 -07:00
hsteinbr
38f79cf152 Detect chrome book user agent. 2015-06-04 13:53:50 -07:00
Aleksandr Beshkenadze
47678762bd Added support for detection of Yandex.Browser. 2015-05-27 15:51:04 +03:00
jdalton
7de18fd27d Add support for Microsoft Edge. 2015-05-15 19:35:13 -07:00
hsteinbr
cda48cb48a Parse user agent by default according to spec.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
see 14.43
2015-05-01 15:38:36 -07:00
Andrew Shaffer
3c755ed710 add support for googlebot detection 2015-02-27 15:20:55 -08:00
Ales Rippl
ac247c5d14 mark BB10 browser as A graded 2014-09-09 17:23:30 +02:00
Dustin Diaz
1a70355675 updates tests to reflect new browser groups 2014-04-07 16:59:27 -07:00
BendingBender
1e7a7279c8 refactored detection for firefox/seamonkey/plain gecko to conform to the way other browsers are detected, added version information in case unknown gecko/webkit browser is detected, added detection+tests+docs for sailfish browser 2014-02-28 19:53:50 +01:00
BendingBender
6ed5e29fd0 removed (undocumented) mozilla flag that was merely mirroring the gecko flag 2014-02-28 02:06:23 +01:00
BendingBender
e39d6a8fc0 added detection for tizen and a new tizen flag 2014-02-25 01:48:35 +01:00