I am trying to determine the name of the browser using JavaScript. I need to identify if the browser is Internet Explorer or not. I attempted to use the following code:
navigator.appName
However, this code returns the same result for IE11, Firefox, Chrome, and Safari, which is "Netscape". How can I specifically identify Internet Explorer without concerning myself with versions?