Yesterday’s incident (read Microsoft Silently Installing Windows Presentation Foundation Plugin For Firefox for pointers) brought up a question on how the plugin that caused the problems was installed it first place. Mozilla Firefox users with the Microsoft net. Framework 3.5 SP1 had the plugin installed without them accepting the installation of the plugin. This can be problematic not only from a security standpoint but also from a stability one.
The majority of the blame should not be put solely on Microsoft though. Other software companies like Apple or Google have been doing exactly the same thing. Firefox users might notice a Google Update plugin or Apple iTunes plugin in the plugin section of the web browser. And those installations are not blocked by the Firefox browser.

There is however an option to block automatic plugin installations. It is not a perfect solution though but it is all that is provided currently. The Mozilla developers have added several directories and locations in the Firefox preferences that are automatically scanned by the web browser for plugins. If a plugin is found it will be added and activated in the browser.
These plugin directories are listed in the all.js files which is located in the greprefs directory of the Firefox installation. The following directories and locations are listed in the file (search for plugin or another word that will move the cursor to that position).
// Locate Java by scanning the Sun JRE installation directory with a minimum version
// Note: Does not scan if security.enable_java is not true
pref(”plugin.scan.SunJRE”, “1.3″);// Locate plugins by scanning the Adobe Acrobat installation directory with a minimum version
pref(”plugin.scan.Acrobat”, “5.0″);// Locate plugins by scanning the Quicktime installation directory with a minimum version
pref(”plugin.scan.Quicktime”, “5.0″);// Locate and scan the Window Media Player installation directory for plugins with a minimum version
pref(”plugin.scan.WindowsMediaPlayer”, “7.0″);// Locate plugins by the directories specified in the Windows registry for PLIDs
// Which is currently HKLM\Software\MozillaPlugins\xxxPLIDxxx\Path
pref(”plugin.scan.plid.all”, true);// Controls the scanning of the Navigator 4.x directory for plugins
// When pref is missing, the default is to pickup popular plugins such as
// Flash, Shockwave, Acrobat, and Quicktime. If set to true, ALL plugins
// will be picked up and if set to false the scan will not happen at all
//pref(”plugin.scan.4xPluginFolder”, false);
As you can see there are entries for Sun Java, Adobe Acrobat, Apple Quicktime, the Windows Registry and Netscape plugins. Putting a comment in front of the plugin locations that should not be scanned will block those plugins from being started with Firefox (comments are added by adding // in front of a row).
Many Microsoft, Apple and Google plugins are added from the location in the Windows Registry. It is not advised to block that location completely as it also lists the Adobe Flash plugin in the Registry which would stop Flash support in the web browser. The only solution right now would be to go into the Registry and backup and remove the plugins that are not needed. If it were not for the Flash plugin the whole Registry location could be blocked from being scanned.

The programs will not add their plugins again to the Windows Registry unless they are updated or reinstalled. Another option to automatically block plugin installation (and display a prompt instead) is to use a software that will show a prompt before a specific Registry key is edited in Windows. A program like MJ Registry Watcher can do that. Simply add the HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins key to the list of keys protected by the program to be informed whenever a software tried to change or add entries to the key.
Read Related Posts
10 Responses to “How To Stop Automatic Plugin Installations In Firefox”
Trackbacks/Pingbacks
-
[...] See the article here: How To Stop Automatic Plugin Installations In Firefox [...]
-
[...] blog that was founded in 2005 by Martin Brinkmann. Read more from the original source: How To Stop Automatic Plugin Installations In Firefox Categories : Buzz, Tech [...]
-
[...] [...]
-
[...] Source Share/Save [...]

How To Uninstall Windows Presentation Foundation Plugin In Firefox
Microsoft Silently Installing Windows Presentation Foundation Plugin For Firefox
Mozilla Plugin Check
Firefox Locks Components Directory For Third Parties
Create Custom Firefox And Thunderbird Installations
Mozilla Checks Flash Version After Firefox Updates
Thanks for the tip man, to be honest I did not even notice they (MS) installed their plugin untill I got that notification.
Quite wise, thanks Martin. Digging sometimes does lead to non-official alternatives :)
I have tweaked my Firefox many times and really made it somewhat different by performance and by apperance too, but I did not know about this one…
Will definitely give it a try because sometimes I just don’t want some of them to install and add up to my RAM…
Thanks!
Or you can go to options …advanced…update…and uncheck auto update…and manually do it….! Then you don’t have to install anything you don’;t want.
i hate auto addon crap
just stop messing with my stuff and ASK before doing whatever you want to
removing .net WPF, java, GOOGLE and any ADOBE crap is just stupid
ASK and I MIGHT SAY YES
disable and uninstall ARGHH
well that was good but there is easier way to stop automatic updates
1.open Firefox browser
2.go to tools —-options
3. click advanced tab
4.check —-”ask me what I want to do” under”when updates for Firefox are found” and click “OK”
your done