JavaScript DHTML/Javascript Objects/mimeType
Версия от 10:00, 26 мая 2010; (обсуждение)
"description" Example
<html>
<body>
<button onclick="alert(navigator.mimeTypes[0].description);">mimetype</button>
<button onclick="alert(navigator.mimeTypes[0].suffixes);">suffixes</button>
<button onclick="alert(navigator.mimeTypes[0].type);">type</button>
</body>
</html>
"suffixes" Example
<html>
<body>
<button onclick="alert(navigator.mimeTypes[0].description);">mime</button>
<button onclick="alert(navigator.mimeTypes[0].suffixes);">suffixes</button>
<button onclick="alert(navigator.mimeTypes[0].type);">Type</button>
</body>
</html>
"type" Example
<html>
<body>
<button onclick="alert(navigator.mimeTypes[0].description);">mime</button>
<button onclick="alert(navigator.mimeTypes[0].suffixes);">suffixes</button>
<button onclick="alert(navigator.mimeTypes[0].type);">Type</button>
</body>
</html>