| Author |
can javascript tell me if plugins are enabled?
|
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
We've got a site where we show people a frameset page. The bottom frame contains text and a few buttons. the top frame directly loads a PDF file (by that, I mean it's not an HTML file with any sort of plugin code, the src attribute of the frame points directly to the PDF file). If a user has "Run Active X and plugins " disabled, then that top frame just sits empty. The PDF is downloaded by the browser (which our apache logs confirm), but then the plugin doesn't activate. Is there a way to tell that this is happening? Because then we could output a link to the PDF file. Clicking the link works, because this would load the PDF in the external Adobe Reader application.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Look at this page and see if you can get anything from the activeX section. http://www.rgagnon.com/jsdetails/js-0056.html Eric
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
This also has other detections: http://www.javascriptkit.com/script/script2/plugindetect.shtml Eric
|
 |
 |
|
|
subject: can javascript tell me if plugins are enabled?
|
|
|