<!-- 把下面代码放到<body>区域中: -->
<script language="JavaScript">
<!-- Hide this script from old browsers --
var num_of_plugins = navigator.plugins.length;
for (var i=0; i < num_of_plugins; i++) {
var list_number=i+1;
document.write("<font color=red>Plug-in No." + list_number + "- </font>"+navigator.plugins[
i].name+" <br>[
Location: " + navigator.plugins[
i].filename + "]<p>");
}
if (list_number>15)
alert("\n哇!你有 " + list_number + " 种外挂程序!")
else
alert ("\n多找一些外挂程序吧! 你只有 "+ list_number + " 种外挂程序,有点逊!")
// -- End Hiding Here -->
</script>