blob: e49b1cf2983b4d1bfd4ee8dc1b05cfb95822b1ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<html>
<head>
<title>%1</title>
<script language="Javascript"> <!--
function listPlugins() {
document.write("<table border=\"1\">");
document.write("<tr>%2</tr>");
for (i = 0; i < navigator.plugins.length; i++)
{
document.write("<tr><td>"+navigator.plugins[i].name);
document.write("</td><td>"+navigator.plugins[i].description);
document.write("</td><td>"+navigator.plugins[i].filename);
document.write("</td><td><ul>");
for (j = 0; j < navigator.plugins[i].length; j++)
{
document.write("<li>"+navigator.plugins[i][j].type+" - "
+navigator.plugins[i][j].description+" ("
+navigator.plugins[i][j].suffixes+")</li>");
}
document.write("</ul></td></tr>");
}
document.write("</table>");
document.write("<br/><br/>");
document.write("<table border=\"1\">");
document.write("<tr>%4</tr>");
for (i = 0; i < navigator.mimeTypes.length; i++)
{
document.write("<tr><td>"+navigator.mimeTypes[i].type);
document.write("</td><td>"+navigator.mimeTypes[i].description);
document.write("</td><td>"+navigator.mimeTypes[i].suffixes);
if (navigator.mimeTypes[i].enabledPlugin) {
document.write("</td><td>");
// This could be enhanced to write the plugin name(s) by
// searching through navigator.plugins[][]
document.write("%3");
}
document.write("</td></tr>");
}
document.write("</table>");
}
//--></script>
</head>
<body onload="listPlugins();">
</body>
</html>
|