This result occurs for Internet Explorer when the Adobe Reader ActiveX control is disabled in the add-ons menu. The browser + Adobe plugin are unable to use / tags to display PDF documents. Returns -0.1 if plugin is installed & enabled, but plugin version is / tags. You can view PDF documents using the browser (with the plugin) and/or the standalone application The plugin version is unknown, and thus we are unable to determine if version >= minVersion. Returns 0 if plugin is installed & enabled. The handler can call the isMinVersion( ), getVersion( ) and getInfo( ) methods to obtain the final plugin detection results. This method will call an event handler after plugin detection has fully completed. In order to handle NOTF detection, it is recommended that you use the onDetectionDone( ) method. Only certain plugins (on certain browsers and platforms) require NOTF. Detection is occurring NOTF (Not On The Fly), so you will have to wait until the detection has completed. At this point in time, the plugin appears to be installed & enabled. Returns 0.5 if plugin detection has been initiated but is not yet completed. Or better yet, we can combine the Adobe PDF and the Firefox PDF detectors. So any conflict between the Adobe plugin and the Firefox PDF Reader can be revealed by specifically trying to detect the Firefox PDF Reader. However, it is possible to detect when Firefox's native PDF Reader is the default in Firefox. There are too many problems in trying to detect this. Trying to detect when the Adobe plugin is the default PDF viewer across all browsers, all platforms, and all possible configurations is impractical at best. Again, this depends on the browser preferences/settings, etc. It is possible that the browser may have other PDF viewer(s) installed, and that the browser will simply use one of those other viewers instead of Adobe's. This detection result does NOT guarantee that the Adobe Reader plugin is the default PDF viewer in the browser, however. You can view PDF documents by using the browser (with the plugin) and/or by using the standalone Adobe Reader application. Returns 1 if plugin is installed & enabled and plugin version is >= minVersion. PluginDetect.isMinVersion('AdobeReader', minVersion, DummyPDF): Var version = PluginDetect.getVersion("AdobeReader") // version has the format of "A.B.C.D" PluginDetect.getVersion(".") // set delimiter PluginDetect.getVersion(delimiter) where delimiter is a string with exactly 1 character. If you wish to change the getVersion( ) delimiter, then use: Returns null when the version could not be determined (when plugin is not installed/not enabled, or plugin is installed but the version information is unavailable).īy default, the returned version string is comma delimited and has the format of "A,B,C,D". It does NOT necessarily mean that the plugin is enabled. When getVersion( ) returns a version, it only means that the plugin is installed. Returns the version (as a string) of the installed Adobe Reader plugin. PluginDetect.getVersion('AdobeReader', DummyPDF): A few PluginDetect commands for Adobe Reader detection
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |