Show Browser Mime type (Firefox) : Mime Type : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Mime Type »

 

Show Browser Mime type (Firefox)



<html>
<head>
<script language="JavaScript">
<!--
   var htmlString= "MIME types <form><select size=25>";
   function showTypes() {
      for (var i=0; i < navigator.mimeTypes.length; i++)
          htmlString += "<option>" + navigator.mimeTypes[i].type;
      htmlString += "</select></form>";
      document.write(htmlString);
   }
//-->
</script>
</head>
<body onLoad="showTypes()">
</body>
</html>

 

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Mime Type