<HTML><HEAD>
<TITLE>A hasznalt bongeszo</TITLE>
</HEAD>
<BODY BGCOLOR=#CC945C>
<SCRIPT language="JavaScript">
with(document) // hogy "document.writeln" helyett "writeln"-t írhassunk
{
writeln("<CENTER><H3>A használt böngésző:</H3>");
writeln("<TABLE BGCOLOR=#553300 CELLPADDING=5><TR><TD>");
writeln("<TABLE CELLPADDING=4 BGCOLOR=#FFCCAA BORDER=1>");
writeln(" <TR><TH ALIGN=left>Ezt írjuk a Javascriptbe</TH>");
writeln(" <TH ALIGN=left>Ezt kaptuk vissza a használt gépen</TH></TR>");
writeln(" <TR><TD>navigator.appCodeName</TD><TD>"+navigator.appCodeName+"</TD></TR>");
writeln(" <TR><TD>navigator.appName</TD><TD>"+navigator.appName+"</TD></TR>");
writeln(" <TR><TD>navigator.appVersion</TD><TD>"+navigator.appVersion+"</TD></TR>");
writeln(" <TR><TD>navigator.language</TD><TD>"+navigator.language+"</TD></TR>");
writeln(" <TR><TD>navigator.mimeTypes</TD><TD>"+navigator.mimeTypes+"</TD></TR>");
writeln(" <TR><TD>navigator.platform</TD><TD>"+navigator.platform+"</TD></TR>");
writeln(" <TR><TD>navigator.plugins</TD><TD>"+navigator.plugins+"</TD></TR>");
writeln(" <TR><TD>navigator.userAgent</TD><TD>"+navigator.userAgent+"</TD></TR>");
writeln("</TABLE>");
writeln("</TD></TR></TABLE>");
writeln("<P><H3>[Object MimeTypeArray]</H3>");
writeln("<TABLE BGCOLOR=#553300 CELLPADDING=5><TR><TD>");
writeln("<TABLE BGCOLOR=#FFCCAA BORDER=1><TR>");
writeln("<TH ALIGN=left>i</TH>");
writeln("<TH ALIGN=left>type</TH>");
writeln("<TH ALIGN=left>description</TH>");
writeln("<TH ALIGN=left>suffixes</TH>");
writeln("<TH ALIGN=left>enabledPlugin.name</TH></TR>");
for (i=0; i < navigator.mimeTypes.length; i++)
{
writeln("<TR><TD>"+i+"</TD><TD>"+navigator.mimeTypes[i].type+"</TD>");
if (navigator.mimeTypes[i].description=="")
writeln("<TD> </TD>")
else
writeln("<TD>"+navigator.mimeTypes[i].description+"</TD>");
if (navigator.mimeTypes[i].suffixes=="")
writeln("<TD> </TD>")
else
writeln("<TD>"+navigator.mimeTypes[i].suffixes+"</TD>");
if (navigator.mimeTypes[i].enabledPlugin==null)
writeln("<TD>None</TD></TR>")
else
writeln("<TD>"+navigator.mimeTypes[i].enabledPlugin.name+"</TD></TR>")
}
writeln("</TABLE>");
writeln("</TD></TR></TABLE>");
writeln("<P><H3>[Object PluginArray]</H3>");
writeln("<TABLE BGCOLOR=#553300 CELLPADDING=5><TR><TD>");
writeln("<TABLE BGCOLOR=#FFCCAA BORDER=1><TR>");
writeln("<TH ALIGN=left>i</TH>");
writeln("<TH ALIGN=left>name</TH>");
writeln("<TH ALIGN=left>filename</TH>");
writeln("<TH ALIGN=left>description</TH>");
writeln("<TH ALIGN=left># of types</TH></TR>");
for (i=0; i < navigator.plugins.length; i++)
{
writeln("<TR VALIGN=TOP><TD>"+i+"</TD>");
writeln( "<TD>"+navigator.plugins[i].name+"</TD>");
writeln( "<TD>"+navigator.plugins[i].filename+"</TD>");
writeln( "<TD>"+navigator.plugins[i].description+"</TD>");
writeln( "<TD>"+navigator.plugins[i].length+"</TD>");
writeln("</TR>");
}
writeln("</TABLE>");
writeln("</TD></TR></TABLE>");
}
</SCRIPT>
</BODY>
</HTML> |