Skip to content

Instantly share code, notes, and snippets.

@craigsimps craigsimps/global.js
Created Mar 21, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.