Reputation: 4856
Anyone know how to determine if a particular plugin is installed on a user's browser? The plugin in question is AlternaTIFF.
Upvotes: 2
Views: 570
Reputation: 54600
For IE just try to create it.
var installed = true;
try {
newObj = new ActiveXObject(YOUROBJECT.whatever);
} catch {
installed = false;
}
Upvotes: 0
Reputation: 2903
AlternaTIFF has some code that does that, it looks like: http://www.alternatiff.com/testpage.html
Upvotes: 0
Reputation: 36783
I believe navigator.plugins
gives you access to that information, it has name, description, and supported mimetypes of each plugin.
Upvotes: 2