title: Javascript get MIME type support
body: <p>I found how to get mimetypes from navigator.mimeTypes:</p>
  
  <pre><code>function GetMimeTypes() {
      var message = "";
      var mimes = navigator.mimeTypes;
      for (var i = 0; i &lt; mimes.length; i++) {
          message += "&lt;b&gt;" + mimes[i].type + "&lt;/b&gt; : " + mimes[i].description + "/" + mimes[i].suffixes + "&lt;br /&gt;";
      }
  
      var info = document.getElementById("mime");
      info.innerHTML = message;
  }​
  </code></pre>
  
  <p>but it doesn't return types like
   text/html, text/css or text/javascript. I found: Naturally,several MIME types are handled by the browser itself, such as text/javascript(JavaScript files), text/css (CSS style sheets), image/gif (GIF-encoded images), image/jpegimages),text/xml (XML files), and text/html(HTML files). Many others, however, are handled by plugins and checker navigator.mimeTypes[“text/html”] != null, how can i get list of these?</p>