Plugin décrit les extensions logicielles installées.

Compatibilité
Cet objet est compatible avec Netscape.
Disponibilité

Javascript

Synopsis
navigator.plugins[i]
navigator.plugins['nom']
Propriétés
Propriété Description
description donne une description d'une extension logicielle.
filename donne le nom de fichier du programme d'extension.
length indique le nombre d'élément dans le tableau des types MIME.
name spécifie le nom de l'extension logicielle.
Exemple [voir]
<html>
  <body>
    <script language="javascript">
      if (navigator.appName == 'Netscape')
      {
        document.writeln("<table border=1><tr valign=TOP>"
                    + "<th align=left>Nb</th>"
                    + "<th align=left>Nom</th>"
                    + "<th align=left>Nom de fichier</th>"
                    + "<th align=left>Description</th>")
        for (i = 0; i < navigator.plugins.length; i++) 
        {
          document.writeln("<tr valign=TOP><td>" + i
            + "</td><td>",navigator.plugins[i].name
            + "</td><td>",navigator.plugins[i].filename
            + "</td><td>",navigator.plugins[i].description);
        }
        document.writeln("</td></tr></table>")
      }
      else
        document.write("Ce programme ne fonctionne que sous Netscape");
    </script>
  </body>
</html>
En savoir plus :
Découvrez cet objet sur le site de Netscape