Navigator 3.0
plugin.name
The name property of a Plugin object is a read-only string that specifies the name of the plug-in. Each plug-in should have a name that uniquely identifies it.
The value of the name property can also be used as an index into the navigator.plugins[] array. You can use this fact to easily determine whether a particular named plug-in is installed in the current browser:
var sw_installed =index.html (navigator.plugins["Shockwave"] != null);
Note that some plug-ins may support a configurable list of MIME types. Once you have determined that a desired plug-in is installed, you may also need to consult the Plugin.mimeTypes[] array to be sure that the plug-in can display the type of data you want it to.
file: /Techref/language/java/script/definitive/refp_311.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/12/26 22:07,
18.216.57.57:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/java/script/definitive/refp_311.htm"> [Chapter 21] Reference: Plugin.name</A> |
Did you find what you needed? |