3 <style type=
"text/css"> <!--
4 body
{ direction: rtl
; }
7 <script language=
"Javascript"> <!--
8 function listPlugins() {
9 document
.write("<table border=\"1\">");
10 document
.write("<tr>%2</tr>");
11 for (i
= 0; i
< navigator
.plugins
.length
; i
++)
13 document
.write("<tr><td>"+navigator
.plugins
[i
].name
);
14 document
.write("</td><td>"+navigator
.plugins
[i
].description
);
15 document
.write("</td><td>"+navigator
.plugins
[i
].filename
);
16 document
.write("</td><td><ul>");
17 for (j
= 0; j
< navigator
.plugins
[i
].length
; j
++)
19 document
.write("<li>"+navigator
.plugins
[i
][j
].type
+" - "
20 +navigator
.plugins
[i
][j
].description
+" ("
21 +navigator
.plugins
[i
][j
].suffixes
+")</li>");
23 document
.write("</ul></td></tr>");
25 document
.write("</table>");
27 document
.write("<br/><br/>");
29 document
.write("<table border=\"1\">");
30 document
.write("<tr>%4</tr>");
31 for (i
= 0; i
< navigator
.mimeTypes
.length
; i
++)
33 document
.write("<tr><td>"+navigator
.mimeTypes
[i
].type
);
34 document
.write("</td><td>"+navigator
.mimeTypes
[i
].description
);
35 document
.write("</td><td>"+navigator
.mimeTypes
[i
].suffixes
);
36 if (navigator
.mimeTypes
[i
].enabledPlugin
) {
37 document
.write("</td><td>");
38 // This could be enhanced to write the plugin name(s) by
39 // searching through navigator.plugins[][]
42 document
.write("</td></tr>");
44 document
.write("</table>");
48 <body onload
="listPlugins();">