Merge pull request #338 from coox/master

Fix browser detection of Edge on Android
This commit is contained in:
Faisal Salman 2018-10-06 23:32:20 +07:00 committed by GitHub
commit d7608d0459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -999,12 +999,22 @@
} }
}, },
{ {
"desc" : "Microsoft Edge", "desc" : "Microsoft Edge on iOS",
"ua" : "Mozilla/5.0 (Linux; Android 7.0; Lenovo P2a42 Build/NRD90N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.123 Mobile Safari/537.36 EdgA/42.0.0.2314", "ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 EdgiOS/42.1.1.0 Mobile/15F79 Safari/605.1.15",
"expect" : "expect" :
{ {
"name" : "Edge", "name" : "Edge",
"version" : "42.0.0.2314", "version" : "42.1.1.0",
"major" : "42"
}
},
{
"desc" : "Microsoft Edge on Android",
"ua" : "Mozilla/5.0 (Linux; Android 8.0.0; G8441 Build/47.1.A.12.270) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.123 Mobile Safari/537.36 EdgA/42.0.0.2529",
"expect" :
{
"name" : "Edge",
"version" : "42.0.0.2529",
"major" : "42" "major" : "42"
} }
}, },