Mark Spangler
Mark Spangler

Reputation: 4856

Browser Plugin Detection

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

Answers (3)

i_am_jorf
i_am_jorf

Reputation: 54600

For IE just try to create it.

var installed = true;
try {
  newObj = new ActiveXObject(YOUROBJECT.whatever);
} catch {
  installed = false;
}

Upvotes: 0

lod3n
lod3n

Reputation: 2903

AlternaTIFF has some code that does that, it looks like: http://www.alternatiff.com/testpage.html

Upvotes: 0

olliej
olliej

Reputation: 36783

I believe navigator.plugins gives you access to that information, it has name, description, and supported mimetypes of each plugin.

Upvotes: 2

Related Questions