Created
March 21, 2018 22:05
-
-
Save craigsimps/19c4544a84d6c6d6d97c9b79c1dcf701 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
function isIE(userAgent) { | |
userAgent = userAgent || navigator.userAgent; | |
return userAgent.indexOf("MSIE ") > -1 || userAgent.indexOf("Trident/") > -1 || userAgent.indexOf("Edge/") > -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment