Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I am working on a site which requires multiple plugins like Flash, SilverLight etc. and I show a notification to user when any of required plugin is missing or not installed using JavaScript

JavaScript
var nav = navigator.plugins["Silverlight Plug-In"]
var nav = navigator.plugins["Silverlight Plug-In"];


but when I block all plugins on chrome 16 above script also returns the plugin. my question is that how could I detect the blocked plugins? and what is different between blocked and disabled plugins?
Posted
Updated 26-Jan-12 19:28pm
v2
Comments
Rajesh Anuhya 27-Jan-12 1:28am    
pre tags added.

1 solution

When plugins are "blocked" it means they don't automatically run, but you can still right-click and choose to "run this plug-in". It looks like you cannot and should not be able to detect when plugins are blocked.

Here's a page about it from the Chromium issue tracker: http://code.google.com/p/chromium/issues/detail?id=76481[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900