This page will generate the PluginDetect script (
) for you in several easy steps.
1) Select the checkboxes below to choose which plugins you want to include in your PluginDetect script.
2) Select the checkboxes below to choose which methods you wish to include in the PluginDetect script.
||pluginName = string name such as 'Java', 'QuickTime', 'DevalVR', 'Shockwave', 'Flash', 'WindowsMediaPlayer', 'Silverlight', 'VLC', 'AdobeReader', 'PDFReader',
||minVersion = string version such as '1,5,0,0' or '1.5' etc...
3) Make the PluginDetect script as small as possible.
4) Add an alias for the PluginDetect object. For example, if you create an alias of "$$" (without the quotes)
then you could write $$.getVersion(pluginName) instead of writing PluginDetect.getVersion(pluginName).
5) This feature will allow PluginDetect to show various status/error messages at the top of your web page. This is for testing/debugging purposes only.
6) Press the "Create Script" button. Then copy the script, and save in a file named "PluginDetect.js"
7) In the <head> of your webpage, include this HTML:
Note: Having more than one PluginDetect script in the same web page is not allowed at this time.
For example, say you generate a PluginDetect script that detects only
Windows Media Player, and you name it PluginDetectWMP.js. Then you generate another PluginDetect script that detects only
Java, and you name it PluginDetectJava.js.
Then in the <head> of a web page, you have this:
This situation shown above is NOT permitted and will most likely cause problems!
The correct way to proceed would be to generate a single
PluginDetect script that detects both Windows Media Player and Java, and then to place that single PluginDetect script in your web page.
7) Be sure to look at the instructions on how to use PluginDetect