<!-- INSTALLED MIME-TYPES --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2001, Sandeep Gangadharan --> <!-- For more free scripts go to http://www.sivamdesign.com/scripts/ --> <!-- function getMimes() { if (document.getElementById && !document.all) { for (i=0; i < navigator.mimeTypes.length; i++) { document.form1.descp.value += i+1 + ". " + navigator.mimeTypes[i].description + "\n" + " Extension: " + navigator.mimeTypes[i].suffixes + "\n" + " Type: " + navigator.mimeTypes[i].type + "\n\n" } } else alert("This script uses the <navigator.plugins> object that is\n supported only by certain browsers!"); } //--> </script> <!-- This goes into the BODY of the file --> <form name="form1"> <input type="button" value="Get List of MimeTypes" onClick="getMimes();" /> <input type="reset" value="Reset" onClick="reset();" /><br /> <textarea name="descp" cols="50" rows="5" value=""></textarea> </form>