Created
October 11, 2021 21:30
-
-
Save charisTheo/4981233128637fabec0121e90778aef8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isSafari = () => navigator.vendor.match(/apple/i) && | |
!navigator.userAgent.match(/crios/i) && | |
!navigator.userAgent.match(/fxios/i) && | |
!navigator.userAgent.match(/Opera|OPT\//); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment