Get Current Browser Name using Jquery code
<p>Actually, When I am using navigator.userAgent.toLowerCase(), I get output like this :</p>

<pre><code>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36
</code></pre>

<p>I don't want this output. But I want to get only current browser name on which I am browsing and get browser name using Jquery.
Is there any function to get only current browser name instead of getting all browser names.
And, I get output "Chrome" when I am browsing on Google Chrome browser and, Firefox when I am browsing using Firefox Browser. Thanks in advance.</p>