title: Getting a browser's name client-side
body: <p>Is there any object or method that returns data about the browser, client-side?</p>
  <p>For example, I need to detect if the browser is IE (Interner Explorer). Following is the code snippet.</p>
  <pre><code>function isInternetExplorer()
  {
      if(navigator.appName.indexOf(&quot;Microsoft Internet Explorer&quot;) != -1)
      {
          return true;
      }
      return false;
  }
  </code></pre>
  <p>Is there a better way?</p>