I have a Firefox plugin that adds some optional features to my web app. I’m using an object tag in the html to embed the plugin. However, if a user doesn’t have the plugin Firefox displays the message:
Additional plugins are required to display all the media on this page.
Since the plugin is just for optional features I don’t want this message displayed even if they don’t have the plugin.
Is there anything I can to do keep Firefox from displaying this message?
You can try detecting the presence of the plugin with the
navigator.pluginsobject using Javascript, before injecting theobjectneeded for the additional features to work dynamically. For instance, this script will check for the presence of the Flash plugin: