Firefox Preferences Monitor gets pref cleaning capabilities

0
361

The Firefox web browser would not be where it stands today without its add-ons and the community behind it. They add, change or remove functionality from the stock browser giving users options to customize it in thousands of different ways.

Recently, that is in the last one year period, they have also been used to revert changes that Mozilla made to the Firefox web browser.

One issue that I addressed years ago in this regard is that add-on preferences do not get cleaned up when you uninstall the extension in Firefox.

What this means is that the file holding all those information grows over time, and that you will still see the preferences when you access the about:config page in Firefox.

While it is possible to go through the prefs.js file manually to remove all obsolete entries in it, it is usually not the best approach as it is quite easy to break the file which can result in numerous issues.

Preferences Monitor

Back in 2011 I reviewed Preferences Monitor and ECleaner for the first time. They were independent add-ons then that enabled you to monitor Firefox preferences and to remove obsolete entries from Firefox’s configuration.

These two extensions have now been merged into one. While that is the case, they work independent of each other for the most part.

Monitoring

preferences monitor interface

The monitoring part of the extension watches Firefox’s about:config for changes and notifies you so that you know what has been changed.

The extension uses the Browser Console for that, which unfortunately hides the output somewhat. There are notifications on top of that though for changes that are not whitelisted, so that you know what is going on even if you do not open the browser console at all.

Preferences Monitor can do more than just monitor what is going on though. You can configure it to ignore certain preferences and to revert changes automatically made to select matching preferences. You do need RegExp skills for that though.

Other options include saving the log to a text file, preventing notifications for select preferences, and a Preferences Guard which I think blocks changes from being made in first place. There is no explanation attached to the option though and I was not able to trigger it during tests.

eCleaner

clean preferences

You can launch eCleaner from the add-on page. It opens in a new tabbed window. The four tabs display the following information to you:

  1. Extensions lists all preferences created by extensions. Please note that this includes preferences from extensions that you have installed in Firefox at the time of running eCleaner, and past extensions.
  2. Profile displays folders and files stored in the profile folder.
  3. Downloads lists all downloads that have been made since the last clean-up.
  4. LocalStore highlights local pages and their data.

Note: You need to be very careful when you are using the tool, as it mixes old and existing preferences and information. Make sure you know that an entry is obsolete before you click on the remove selected button.

You can select one or multiple items here for cleanup. Just select them and hit the remove selected button afterwards to do so.

If you are looking for a specific preferences, use the filter at the bottom of the screen to find it faster.

The extension offers to restart Firefox after you have deleted entries.

Closing Words

Preferences Monitor is an advanced tool. While the monitoring part of it has its uses for all Firefox users, especially those who do not want extensions or programs to modify settings in the browser, its eCleaner part is only suitable for users who know what they can clean and what is better to be left alone.

The extension could use some updated control options, like a toolbar button of sorts that you can click on to improve its accessibility. While the developer suggests to create one of your own, it would be easier to ship it directly with the extension instead.