E

사용자 브라우저의 펄러그인 목록 출력하기

· 2006-05-11 (목) 10:46:30 · 2500
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
numPlugins = navigator.plugins.length;
if (numPlugins > 0)
document.writeln("<b><font size=+3>Installed plug-ins</font></b><br>");
else
document.writeln("<b><font size=+2>No plug-ins ");
document.writeln("are installed.</font></b><br>");
document.writeln("<hr>");
for (i = 0; i < numPlugins; i++) {
plugin = navigator.plugins[i];
document.write("<center><font size=+1><b>");
document.write(plugin.name);
document.writeln("</b></font></center><br>");
document.writeln("<dl>");
document.writeln("<dd>File name:");
document.write(plugin.filename);
document.write("<dd><br>");
document.write(plugin.description);
document.writeln("</dl>");
document.writeln("<p>");
document.writeln("<table width=100% border=2 cellpadding=5>");
document.writeln("<tr>");
document.writeln("<th width=20%><font size=-1>Mime Type</font></th>");
document.writeln("<th width=50%><font size=-1>Description</font></th>");
document.writeln("<th width=20%><font size=-1>Suffixes</font></th>");
document.writeln("<th><font size=-1>Enabled</th>");
document.writeln("</tr>");
numTypes = plugin.length;
for (j = 0; j < numTypes; j++) {
mimetype = plugin[j];
if (mimetype) {
enabled = "No";
enabledPlugin = mimetype.enabledPlugin;
if (enabledPlugin && (enabledPlugin.name == plugin.name))
enabled = "Yes";
document.writeln("<tr align=center>");
document.writeln("<td>");
document.write(mimetype.type);
document.writeln("</td>");
document.writeln("<td>");
document.write(mimetype.description);
document.writeln("</td>");
document.writeln("<td>");
document.write(mimetype.suffixes);
document.writeln("</td>");
document.writeln("<td>");
document.writeln(enabled);
document.writeln("</td>");
document.writeln("</tr>");
}
}
document.write("</table>");
document.write("<p><hr><p>");
}
// End -->
</SCRIPT><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
12-01-11 조회 2,761
12-01-11 조회 1.2만
12-01-10 조회 2,860
12-01-08 조회 3,448
12-01-05 조회 5,340
11-12-29 조회 3,057
11-12-27 조회 2,845
11-12-25 조회 3,027
11-12-22 조회 3,464
11-12-14 조회 2,923
11-12-12 조회 3,550
11-11-28 조회 3,381
10-10-19 조회 2,844
08-09-05 조회 3,758
08-09-05 조회 3,574
08-06-14 조회 3,319
08-04-22 조회 3,599
08-04-17 조회 3,602
07-10-03 조회 4,216
07-10-03 조회 3,610
07-10-03 조회 7,296
07-10-03 조회 4,573
07-10-03 조회 3,269
07-10-03 조회 2,865
07-10-02 조회 3,577
07-10-02 조회 3,104
07-09-27 조회 5,026
07-09-27 조회 3,851
06-09-26 조회 3,517
06-09-26 조회 4,736
06-09-22 조회 3,910
06-09-22 조회 3,529
06-09-22 조회 4,274
06-09-21 조회 4,207
06-08-18 조회 3,697
05-11-30 조회 4,746
05-07-15 조회 4,597
05-03-23 조회 4,657
05-03-14 조회 3,325
05-03-13 조회 2,699
04-08-05 조회 5,774