Merge pull request #265 from brophdawg11/support-ios-gsa

Add support for Google Search Appliance on iOS
This commit is contained in:
Faisal Salman 2017-10-11 21:35:06 +07:00 committed by GitHub
commit eeb1b9ef81
2 changed files with 13 additions and 0 deletions

View File

@ -326,6 +326,9 @@
/version\/([\w\.]+).+?(mobile\s?safari|safari)/i // Safari & Safari Mobile /version\/([\w\.]+).+?(mobile\s?safari|safari)/i // Safari & Safari Mobile
], [VERSION, NAME], [ ], [VERSION, NAME], [
/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i // Google Search Appliance on iOS
], [[NAME, 'GSA'], VERSION], [
/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i // Safari < 3.0 /webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i // Safari < 3.0
], [NAME, [VERSION, mapper.str, maps.browser.oldsafari.version]], [ ], [NAME, [VERSION, mapper.str, maps.browser.oldsafari.version]], [

View File

@ -958,5 +958,15 @@
"version" : "6.5.8.2910", "version" : "6.5.8.2910",
"major" : "6" "major" : "6"
} }
},
{
"desc" : "GSA on iOS",
"ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) GSA/30.1.161623614 Mobile/14F89 Safari/602.1",
"expect" :
{
"name" : "GSA",
"version" : "30.1.161623614",
"major" : "30"
}
} }
] ]