<head> of your html document
<script type="text/javascript">
function GetPlugins1 () {
var message1 = "";
// Internet Explorer supports the plugins collection, but it is always empty.
if (navigator.plugins && navigator.plugins.length > 0) {
var plugins1 = navigator.plugins;
for (var i=0; i < plugins1.length; i++) {
message1 += " " + plugins1[i].name + " (" + plugins1[i].description + ")<br />";
}
}
else {
message1 = "Your browser does not support this example";
}
var infoP1 = document.getElementById ("infoP");
infoP1.innerHTML = message1;
}
</script>
<body> tag
onload="GetPlugins1()"
E.g., <body id="bodyId" onload="GetMimeTypes();GetPlugins1()">
<body>
<p id="infoP1"></p>
Browser Plugins - Displays:
Save the following script as plugins.js
<!--
function GetPlugins2 () {
var message2 = "";
// Internet Explorer supports the plugins collection, but it is always empty.
if (navigator.plugins && navigator.plugins.length > 0) {
var plugins2 = navigator.plugins;
for (var i=0; i < plugins2.length; i++) {
message2 += " " + plugins2[i].name + " (" + plugins2[i].description + ")<br />";
}
}
else {
message2 = "Your browser does not support this example";
}
var infoP2 = document.getElementById ("infoP2");
infoP2.innerHTML = message2;
}
//-->
<head> of your html document
<script src="/js/plugins.js" type="text/javascript"></script>
<body> tag
onload="GetPlugins2()"
E.g., <body id="bodyId" onload="GetMimeTypes();GetPlugins2()">
<body>
<p id="infoP2"></p>
Browser Plugins - Displays:
In computing, a plug-in, or plugin, is a set of software components which adds specific abilities to a larger software application. If supported, plug-ins enable customizing the functionality of an application. For example, plug-ins are commonly used in web browsers to play video, scan for viruses, and display new file types. Well-known plug-ins examples include Adobe Flash Player, QuickTime, and Microsoft Silverlight. Add-on, or addon, in computing is often considered the general term comprising snap-ins, plug-ins, extensions, and themes for software applications.