1
0
mirror of https://github.com/lancedikson/bowser synced 2026-09-24 04:55:13 +00:00

Add PlayStation 4 browser support

This commit is contained in:
rcohen-unext
2019-02-06 17:47:28 +09:00
committed by Denis Demchenko
parent a81b8c0ed7
commit 383c627fc0
4 changed files with 56 additions and 0 deletions

View File

@@ -552,6 +552,23 @@ const browsersList = [
},
},
/* PlayStation 4 */
{
test: [/playstation 4/i],
describe(ua) {
const browser = {
name: 'PlayStation 4',
};
const version = getFirstMatch(commonVersionIdentifier, ua);
if (version) {
browser.version = version;
}
return browser;
},
},
/* Safari */
{
test: [/safari|applewebkit/i],