{"json_modified": "2016-05-24T10:01:32.611748", "uuid": "0142ed29-1b24-430c-b8b7-8502554f8001", "title": "Site Author Guide for Click-To-Activate Plugins", "url": "/en-US/docs/Mozilla/Add-ons/Plugins/Site_Author_Guide_for_Click-To-Activate_Plugins", "tags": ["Guide", "guide", "Plugins"], "translations": [], "modified": "2016-05-24T10:01:32", "label": "Site Author Guide for Click-To-Activate Plugins", "localization_tags": [], "locale": "en-US", "id": 83385, "last_edit": "2016-05-24T10:01:32", "summary": "To detect if a plugin is actually installed, query navigator.mimeTypes for the plugin MIME type you intend to use. This allows you to differentiate between plugins that are not installed and those that are click-to-activate. Do not iterate through navigator.mimeTypes or navigator.plugins: enumeration may be removed as a privacy measure in a future version of Firefox.", "sections": [{"id": "Using_a_script_to_determine_if_a_plugin_is_installed", "title": "Using a script to determine if a plugin is installed"}, {"id": "Using_a_script_callback_to_determine_when_a_plugin_is_activated", "title": "Using a script callback to determine when a plugin is activated"}, {"id": "Using_properties_on_the_plugin_to_determine_when_it_activated", "title": "Using properties on the plugin to determine when it activated"}, {"id": "Making_plugins_visible_on_the_page", "title": "Making plugins visible on the page"}], "slug": "Mozilla/Add-ons/Plugins/Site_Author_Guide_for_Click-To-Activate_Plugins", "review_tags": []}