사용자 브라우저의 펄러그인 목록 출력하기
<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>
<!-- 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>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 716 | PHP |
|
19년 전 | 3876 | |
| 715 | PHP |
|
19년 전 | 4164 | |
| 714 | 기타 |
|
19년 전 | 3802 | |
| 713 | 기타 |
|
19년 전 | 3847 | |
| 712 | 기타 |
|
19년 전 | 3607 | |
| 711 | Linux |
|
19년 전 | 4159 | |
| 710 | MySQL |
|
19년 전 | 3812 | |
| 709 | JavaScript | 19년 전 | 2910 | ||
| 708 | 기타 | 19년 전 | 3970 | ||
| 707 | JavaScript |
|
19년 전 | 3246 | |
| 706 | 기타 |
|
19년 전 | 2843 | |
| 705 | MySQL |
|
19년 전 | 13884 | |
| 704 | Flash |
|
19년 전 | 5463 | |
| 703 | JavaScript |
|
19년 전 | 3647 | |
| 702 | 기타 | 19년 전 | 3060 | ||
| 701 | JavaScript | 19년 전 | 3295 | ||
| 700 | JavaScript | 19년 전 | 3162 | ||
| 699 | 기타 |
Power
|
19년 전 | 3546 | |
| 698 | JavaScript | 19년 전 | 3217 | ||
| 697 | JavaScript |
pearly
|
19년 전 | 5432 | |
| 696 | 기타 |
pearly
|
19년 전 | 4568 | |
| 695 | 기타 |
pearly
|
19년 전 | 4761 | |
| 694 | JavaScript |
pearly
|
19년 전 | 3863 | |
| 693 | PHP | 19년 전 | 4083 | ||
| 692 | JavaScript |
|
19년 전 | 3493 | |
| 691 | JavaScript |
pearly
|
19년 전 | 3827 | |
| 690 | 기타 | 19년 전 | 3449 | ||
| 689 | 기타 |
pearly
|
19년 전 | 4790 | |
| 688 | 기타 | 19년 전 | 4442 | ||
| 687 | 기타 |
|
19년 전 | 3070 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기