E

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

· 2006-05-11 (목) 10:46:30 · 2503
<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건
+
제목 글쓴이 날짜 조회
05-08-01 조회 4,039
05-07-24 조회 5,409
05-07-16 조회 5,517
bbbking
05-07-08 조회 3,341
bbbking
05-07-08 조회 3,138
bbbking
05-07-08 조회 8,775
05-07-01 조회 3,322
05-06-30 조회 4,705
05-06-24 조회 5,172
05-06-24 조회 3,406
05-06-21 조회 6,813
05-06-17 조회 4,643
05-06-15 조회 5,454
05-05-04 조회 3,695
05-04-11 조회 4,793
05-04-04 조회 5,206
05-04-02 조회 3,598
05-03-30 조회 3,299
05-03-15 조회 3,453
05-03-15 조회 3,131
05-03-14 조회 2,609
05-03-13 조회 2,823
05-03-13 조회 2,966
05-03-13 조회 2,796
05-03-13 조회 3,040
05-03-13 조회 4,633
05-03-13 조회 3,175
05-03-13 조회 2,602
05-03-13 조회 2,630
05-03-13 조회 2,491
05-03-13 조회 3,663
05-03-13 조회 2,697
05-03-13 조회 2,708
05-03-13 조회 3,222
05-03-13 조회 3,493
05-03-13 조회 3,084
05-03-13 조회 3,036
05-03-13 조회 3,715
05-03-13 조회 2,654
05-03-13 조회 4,165
05-03-13 조회 2,876
05-03-13 조회 3,232
05-03-13 조회 2,703
05-03-13 조회 3,884
05-03-13 조회 2,573
05-03-12 조회 4,907
05-02-04 조회 3,482
04-12-13 조회 7,110
04-12-01 조회 3,387
04-11-30 조회 3,456
04-11-30 조회 2,795
04-11-30 조회 2,695
04-11-30 조회 4,098
04-11-29 조회 3,834
04-11-28 조회 3,768
04-11-28 조회 4,129
04-11-28 조회 3,554
04-11-28 조회 3,047
04-11-28 조회 3,588
04-11-24 조회 3,261
04-11-23 조회 3,041
04-11-17 조회 3,050
04-11-12 조회 3,333
04-11-12 조회 2,678
04-11-10 조회 3,908
04-08-23 조회 4,425
04-08-09 조회 5,072
04-08-08 조회 4,809
04-08-05 조회 6,608
03-09-26 조회 5,262