Doing Some Firefox Configuration Spring Cleaning

25 Giu/10

The Firefox configuration file contains entries for core Firefox settings and extensions. Most users know that it is possible to change the settings by typing in about:config in the Firefox address bar. While the entries can be edited there they can not be deleted.

The file tends to grow over time, largely because entries from uninstalled extensions do not get deleted during uninstallation. Users who install and uninstall add-ons regularly might have a configuration file that is multiple times larger than the standard file.

That’s usually not a problem, a large file might prolong the startup of the web browser by a bit though. Privacy is another issue as some extensions record visits pages or specific rules for websites in the preferences.

The preferences are stored in the prefs.js file in the Firefox user profile directory. Use this guide if you do not know where it is located on your computer system.

It is recommended to create a backup before making any changes to the file to be able to restore it. Firefox needs to be closed before editing the prefs.js file as Firefox automatically saves the prefs.js file on close.

firefox configuration

firefox configuration

Each parameter is stored in a separate line. Many extensions use user_pref(“extensions. in the beginning which makes identification easy, some however start directly with their own name.

The only viable option is to go through the configuration file and locate the extensions that are not installed anymore. That’s a tedious process but the only option at hand as there is no automation of the process available. A rule of thumb is to leave entries alone if they cannot be linked directly to extensions that have been uninstalled.

The size of the prefs.js file on the test system was 167 Kilobytes before spring cleaning. The first cleanup brought the file size down to 88 Kilobytes with room for more after some research.

Here are a few tips:

  • It helps to have the names of the installed extensions and, if applicable, userscripts at hand.
  • Parameters beginning with browser., dom., print. and .network refer to core browser preferences.
  • If you are not sure about a specific setting do the following: Create a backup first, make the changes then and test Firefox to see if the functionality is still there. If you encounter errors restore the backup.

And this is how you delete about:config entries in Firefox.

It is really strange that no one ever build a Firefox preference cleaner that automatically removes old entries from the Firefox configuration file or that the developers have build that feature into the browser. How big is your file? Let us know in the comments.

© Martin for gHacks technology news, Software And Internet Tips For The Geek In You, 2010. | Permalink | Add to, digg, facebook, reddit, <a href=" Some Firefox Configuration Spring Cleaningstumbleupon, twitter
Post tags: , , , ,

Continua a leggere – Original Link: Doing Some Firefox Configuration Spring Cleaning

Technorati Tags: , , , , , , , , , , , , ,

Realizzazione Sito Gestionale Immobiliare

Leggi Anche

Condividi in DeliciousCondividi in DiggCondividi in RedditCondividi in StumbleCondividi in MixxCondividi in TecnoratiCondividi in Ok Notizie


I commenti sono disabilitati per questo articolo.

I commenti sono chiusi.


    Spina Rosario
    Inserito da


Iscrizione Newsletter

    Tieniti informato con tutte le novità del mondo informatico con la nostra newsletter


    Auto Shop Italia
    Web Burning Blog
    Info Privacy