javascript判断用户浏览器插件安装情况的代码
2026-01-17 15:38:23 作者:用户投稿
复制代码 代码如下:
document.writeln("<TABLE BORDER=1><TR VALIGN=TOP>",
"<TH ALIGN=left>i",
"<TH ALIGN=left>名称",
"<TH ALIGN=left>文件名",
"<TH ALIGN=left>描述",
"<TH ALIGN=left>类型数</TR>")
for (i=0; i < navigator.plugins.length; i++) {
document.writeln("<TR VALIGN=TOP><TD>",i,
"<TD>",navigator.plugins[i].name,
"<TD>",navigator.plugins[i].filename,
"<TD>",navigator.plugins[i].description,
"<TD>",navigator.plugins[i].length,
"</TR>")
}
document.writeln("</TABLE>");
document.writeln("<TABLE BORDER=1><TR VALIGN=TOP>",
"<TH ALIGN=left>i",
"<TH ALIGN=left>名称",
"<TH ALIGN=left>文件名",
"<TH ALIGN=left>描述",
"<TH ALIGN=left>类型数</TR>")
for (i=0; i < navigator.plugins.length; i++) {
document.writeln("<TR VALIGN=TOP><TD>",i,
"<TD>",navigator.plugins[i].name,
"<TD>",navigator.plugins[i].filename,
"<TD>",navigator.plugins[i].description,
"<TD>",navigator.plugins[i].length,
"</TR>")
}
document.writeln("</TABLE>");
联络方式:
4008905355
邮箱:9196886@qq.com
Q Q:9196886
微信二维码
