Reputation: 43843
In jQuery or c# (since I am working on an .aspx page on Sharepoint 2010) is there a way to detect if the acrobat plugin is installed and the web viewer setting is enabled. I believe the plugin gets installed with adobe reader 10 and above. I have this
$.each(navigator.plugins, function() {
if (this.name == "Adobe Acrobat") {
$('body').append("You have Acrobat");
}
});
but I am not sure if this is good enough.
Can anyone help? Thanks.
Edit: This needs to work with at least IE9.
Upvotes: 1
Views: 788
Reputation: 10012
This plugin would be of use to you:
http://archive.plugins.jquery.com/project/jqplugin
And not jquery plugin how still JS:
http://thecodeabode.blogspot.co.uk/2011/01/detect-adobe-reader-plugin.html
Upvotes: 2