I\'m wondering how I could detect if the user viewing my website is using Internet Explorer 11 or below versions with Javascript.
It should be compatible and
I'd like to streamline the correct answer. This returns true or false:
true
false
function is_IE() { return (window.navigator.userAgent.match(/MSIE|Trident/) !== null); }