topical media & game development

talk show tell print

professional-javascript-18-MimeTypesExample.htm / htm

          <title>MIME Types Example</title>
          <script type="text/javascript">
              if (navigator.mimeTypes) {
                  document.writeln("<h3>Supported MIME Types (Mozilla only):</h3>");
                  for (var i=0; i < navigator.mimeTypes.length; i++) {
                      document.writeln("<li>" + navigator.mimeTypes[i].type + " (" 
                          + navigator.mimeTypes[i].description + ", " 
                          + navigator.mimeTypes[i].suffixes + ")</li>");

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.