Skip to content

Instantly share code, notes, and snippets.

@jbutko
Created April 15, 2014 14:06
Show Gist options
  • Save jbutko/10735589 to your computer and use it in GitHub Desktop.
Save jbutko/10735589 to your computer and use it in GitHub Desktop.
jQuery, JS: Detect Safari using jQuery/JS
var is_safari = navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1 && navigator.userAgent.indexOf('Android') == -1;
if (is_safari) {
// /* On folder hover lower featured image z-index and almost hide all folder icons */
$('.folder-image').hover(function() {
}, function() {
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment