()
| 42 | // This may also be useful on Android but haven't tested yet. |
| 43 | var isSafari = _isSafari(); |
| 44 | function _isSafari() { |
| 45 | var ua = navigator.userAgent.toLowerCase(); |
| 46 | if (ua.indexOf('safari') != -1) { |
| 47 | if (ua.indexOf('chrome') > -1) { |
| 48 | //return false; |
| 49 | } else { |
| 50 | return true; |
| 51 | } |
| 52 | } |
| 53 | return false; |
| 54 | } |
| 55 | |
| 56 | function isIOS() { |
| 57 |
no test coverage detected