mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Browser 中添加一个新的 Android Browser ,表示 Android 系统原生的浏览器,修复原生浏览器被错误的解析成 Safari 了。并添加两个手机的测试用例。 fixed #974
This commit is contained in:
@@ -27,6 +27,7 @@ public class Browser extends UserAgentInfo {
|
||||
new Browser("Chrome", "chrome", "chrome\\/([\\d\\w\\.\\-]+)"), //
|
||||
new Browser("Firefox", "firefox", Other_Version), //
|
||||
new Browser("IEMobile", "iemobile", Other_Version), //
|
||||
new Browser("Android Browser", "android", "version\\/([\\d\\w\\.\\-]+)"), //
|
||||
new Browser("Safari", "safari", "version\\/([\\d\\w\\.\\-]+)"), //
|
||||
new Browser("Opera", "opera", Other_Version), //
|
||||
new Browser("Konqueror", "konqueror", Other_Version), //
|
||||
|
Reference in New Issue
Block a user