Created
February 25, 2013 11:19
-
-
Save gerbenvandijk/5029207 to your computer and use it in GitHub Desktop.
Detect safari on windows
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
safari = ($.browser.webkit && !(/chrome/.test(navigator.userAgent.toLowerCase()))); | |
windows = (navigator.userAgent.indexOf("Win")!=-1); | |
if (safari && windows) { | |
alert('this is safari on windows'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment