Skip to content

Instantly share code, notes, and snippets.

@baldore
Created July 21, 2014 21:27
Show Gist options
  • Save baldore/6d439c29534c027076e7 to your computer and use it in GitHub Desktop.
Save baldore/6d439c29534c027076e7 to your computer and use it in GitHub Desktop.
IE javascript detection
if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > 0) {
// MSIE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment