File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/settings/src/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ const userAgentMap = {
112112 chrome: / ^ Mozilla\/ 5\. 0 \( [^ )] * (Windows| OS X| Linux)[^ )] + \) AppleWebKit\/ [0-9 . ] + \( KHTML, like Gecko\) Chrome\/ (\d + )[0-9 . ] + (?:Mobile Safari| Safari)\/ [0-9 . ] + $ / ,
113113 // Safari User Agent from http://www.useragentstring.com/pages/Safari/
114114 safari: / ^ Mozilla\/ 5\. 0 \( [^ )] * (Windows| OS X)[^ )] + \) AppleWebKit\/ [0-9 . ] + \( KHTML, like Gecko\) (?: Version\/ ([0-9 ] + )[0-9 . ] + )? Safari\/ [0-9 . A-Z ] + $ / ,
115- // Android Chrome user agent: https://developers.google.com/chrome/mobile/docs/user-agent
116- androidChrome: / Android . * (?:; ( . * ) Build \/ ) . * Chrome\/ (\d + )[0-9 . ] + / ,
115+ // Android Chrome user agent (updated for modern Chrome) : https://www.chromium.org/updates/ua-reduction/#mobile-and-tablet
116+ androidChrome: / ^ Mozilla \/ 5 \. 0 \( [ ^ )] * Linux; Android [ ^ )] + \) AppleWebKit \/ [ 0-9 . ] + \( KHTML, like Gecko \) Chrome\/ (\d + )[0-9 . ] + (?:Mobile Safari | Safari) \/ [ 0-9 . ] + $ / ,
117117 iphone: / * CPU + iPhone + OS + ([0-9 ] + )_(?:[0-9 _] )+ + like + Mac + OS + X * / ,
118118 ipad: / \( iPad; * CPU + OS + ([0-9 ] + )_(?:[0-9 _] )+ + like + Mac + OS + X * / ,
119119 iosClient: / ^ Mozilla\/ 5\. 0 \( iOS\) (?:ownCloud| Nextcloud)-iOS. * $ / ,
You can’t perform that action at this time.
0 commit comments