UC Browser is incorrectly identified as Chrome
pkdetlefsen opened this issue · 3 comments
pkdetlefsen commented
It appears like UC Browser is incorrectly identified as Chrome since the User Agent may contain Chrome/
before UCBrowser/
.
Example:
Mozilla/5.0 (Linux; U; Android 6.0.1; zh-CN; F5121 Build/34.0.A.1.247) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 UCBrowser/11.5.1.944 Mobile Safari/537.36
I believe the solution is to check for ucbrowser
before chrome/
similar to brave
and silk
.
oalders commented
Thanks! I'd accept a pull request for this. :)
konstantin-pustovalov-qs commented
Hey! I am interested in the fix too. Please review my PR - #189 Thanks!