Type: Integer
Returns an integer indicating whether the visitor’s browser has the plug-in specified by the ExtPropCustomPluginID property installed.
This allows you to check whether your custom plug-in, or a plug-in not natively detected by BrowserHawk, is installed.
The returned value is one of the following:
0: The plug-in is not installed
1: The plug-in is installed
-1: It is not possible to detect if the plug-in is installed
Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires the Enterprise Edition of BrowserHawk.
Note: You must set the ExtPropCustomPluginID property to the necessary string required for detection of the plug-in prior to calling the GetExtPropertiesEx method.
Example:
<% set bhObj = Server.CreateObject("cyScape.browserObj")
’r;Test for Executive Viewer plug-in
bhObj.SetExtProperties "Plugin_Custom "
bhObj.ExtPropCustomPluginID = "IVIEWER.IViewerCtrl.1,Executive Viewer"
bhObj.GetExtPropertiesEx
%>
<html>Executive Viewer plug-in:
<%
viewer = bhObj.Plugin_Custom
if viewer = -1 then
PropVal = "Not detectable"
elseif viewer = 0 then
PropVal = "Not installed"
else
PropVal = "Installed"
end if
response.write PropVal
%>
</html>
Special notes for this property:
If the user’s JavaScript is disabled this property will not be available.
See Also: