E

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

· 2006-05-11 (목) 10:46:30 · 2416
<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건
+
제목 글쓴이 날짜 조회
06-06-08 조회 4,015
06-05-31 조회 3,231
06-05-30 조회 3,686
06-05-29 조회 5,404
06-05-20 조회 6,424
06-05-20 조회 7,791
06-05-13 조회 3,667
06-05-13 조회 3,565
06-05-13 조회 3,298
06-05-13 조회 3,386
06-05-10 조회 3,359
06-05-02 조회 3,158
06-05-01 조회 3,168
06-05-01 조회 3,076
06-05-01 조회 2,987
06-05-01 조회 2,993
06-05-01 조회 3,142
06-05-01 조회 4,303
06-05-01 조회 4,150
06-04-30 조회 3,968
06-04-30 조회 3,642
06-04-29 조회 3,729
06-04-29 조회 3,383
06-04-29 조회 3,436
06-04-29 조회 3,796
06-04-28 조회 3,200
06-04-28 조회 5,059
06-04-28 조회 3,588
06-04-28 조회 4,203
06-04-28 조회 3,342
06-04-27 조회 4,137
06-04-27 조회 3,332
06-04-26 조회 4,208
06-04-26 조회 4,586
06-04-25 조회 6,296
06-04-25 조회 4,184
06-04-20 조회 3,942
06-04-17 조회 5,101
06-04-12 조회 3,484
06-04-11 조회 3,854
06-04-08 조회 4,727
06-03-17 조회 3,987
06-03-15 조회 4,661
06-03-06 조회 5,416
bbbking
05-11-05 조회 6,769
05-09-23 조회 5,082
05-08-25 조회 6,804
05-07-29 조회 5,065
05-07-05 조회 6,478
05-06-28 조회 6,831
05-06-20 조회 4,557