We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62c065a + 7fbe2d3 commit e5d41f3Copy full SHA for e5d41f3
1 file changed
src/js/browser.js
@@ -19,6 +19,10 @@ const Browser = {
19
isSafari: () => {
20
return Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0 ||
21
navigator.userAgent.toLowerCase().indexOf('safari') !== -1
22
+ },
23
+ // IOS Chrome
24
+ isIOSChrome: () => {
25
+ return navigator.userAgent.toLowerCase().indexOf('crios') !== -1
26
}
27
28
0 commit comments