Pages

August 19, 2014

The Best About:Config Tweaks That Make Firefox Better









Firefox doesn't get enough love these days, but it's still the most customizable browser around thanks the numerous options in about:config. Here are 10 under-the-hood Firefox tweaks you should try out.


The Best About:Config Tweaks That Make Firefox Better


If you aren't familiar with about:config, it's simple: just type about:config into Firefox's address bar and you'll be greeted with hundreds of hidden settings tweaks that change how Firefox works. In some cases, these are quirky or unfinished features, but in other cases, they just change certain parameters that Firefox uses by default. Double-click on any item to change it, but be careful—some options may act weird, slow down Firefox, or break it altogether. Check out Mozilla's Knowledge Base entry for more information.
We've shared a number of about:config tips over the years, but it's been awhile, so we thought we'd revisit some of our favorites—along with some new ones we haven't seen before.

 

 

Disable the Delay When Installing New Extensions


The Best About:Config Tweaks That Make Firefox Better


When you install a new extension, Firefox makes you wait 5 seconds before installing to ensure you pay attention to where it's coming from. It ends up just being an annoyance. To turn the delay off, just open up about:config and search for:
security.dialog_enable_delay
...and set the value to 0.



Give Bookmarks Higher (or Lower) Weight in the Awesomebar Suggestions

When you type something into the Awesomebar, Firefox ranks its suggestions by something it calls "Frecency," a combination of how frequently and recently you visited a given URL. However, you can adjust the "weight" it gives to certain types of URLs—like bookmarks—with a few about:config tweaks.
You can do a lot with this, and we won't go through all of it here, but let's say for example that you wanted to give bookmarks a higher weight (so Firefox is more likely to suggest them near the top of the list) or no weight (so you don't see bookmarks at all in the Awesomebar suggestions). Just open about:config and search for:
places.frecency.unvisitedBookmarkBonus
The default value is 140, so if you want bookmarks to rank higher. increase this number. If you want them to rank lower, decrease this number, or set it to 0 to eliminate bookmark suggestions entirely. For more information, check out Mozilla's developer page and Knowledge Base article on frecency settings.

 

 

Increase the Number of Suggestions in the Awesomebar Dropdown


The Best About:Config Tweaks That Make Firefox Better


By default, when you type something into Firefox's Awesomebar, it spits out 12 suggestions for you. If you'd like more, just head into about:config and search for:
browser.urlbar.maxRichResults
Change the value to however many suggestions you want. Alternatively, set it to -1 if you'd like to disable the suggestions altogether.

 

 

Open Search Results in a New Tab


The Best About:Config Tweaks That Make Firefox Better 

Expand
By default, Firefox has a search box in the upper-right hand corner from which you can Google things with ease. When you type in a search term, it opens the results in your current tab, which is annoying if you want to keep your current tab open.
To change this behavior, open about:config and search for:
browser.search.openintab
Double-click the setting to change it to True, after which your search results should open in a new tab.





If you use Firefox's Awesomebar to search instead of the search box, you can get the same effect by pressing Alt+Enter when you search.

 

 

Tweak the Way Firefox Shows URLs in the Address Bar


The Best About:Config Tweaks That Make Firefox Better


These days, Firefox displays URLs a bit differently so they're easier to read. By default, it eliminates the "http" before a URL, and greys out text beyond the main domain of a site (such as "lifehacker.com").
To turn off the URL greying, open about:config and search for:
browser.urlbar.formatting.enabled
Double-click it to change it to False, and you should find the URLs display in all black text.
To unhide the "http" portion of a URL, search for:
browser.urlbar.trimURLs
Double-click the setting to change it to False.

 

 

Disable Compatibility Checking for Extensions


The Best About:Config Tweaks That Make Firefox Better


Isn't it annoying when a developer hasn't updated their extension to "work" with a new version of Firefox, even though it actually works fine? You can disable these checks. Open about:config and right-click on an empty space. Choose New > Boolean and create a new setting called:
extensions.checkCompatibility
Set its value False. Alternatively, you can install the Add-On Compatibility Reporter extension to achieve the same effect.

 

 

Make Firefox's Spell Checker More Useful


The Best About:Config Tweaks That Make Firefox Better


Firefox's spell checker is fine, but there are two useful options in about:config that make it more helpful. First, you may have noticed that Firefox only enables its spell checker in multi-line text boxes, not single-line text boxes like many search boxes. To enable it in all text boxes, search for:
layout.spellcheckDefault
...and its value to 2. You should then see those familiar squiggly red lines in search boxes and other single-line forms.
Speaking of those squiggly red lines, do you ever wish they were a bit more obvious or harder to ignore? A hidden setting makes it so: open up about:configand right-click on an empty space. Choose New > Integer, and name it:
ui.SpellCheckerUnderlineStyle
Set its value to 1 for no highlighting, 2 for a dotted line, 3 for long dots, 4 for a single straight line, 5 for a double underline (my personal favorite, shown above), and 6 for the default squiggly line.1

 

 

Preview Tabs in the Ctrl+Tab Switcher


The Best About:Config Tweaks That Make Firefox Better


You know how you can cycle through your open programs in Windows with Alt+Tab? Well, you can do something similar with Firefox's open tabs with Ctrl+Tab. By default, it just moves you to the next tab, but with anabout:config tweak, you can have it show you previews like Windows' task switcher does. To do so, just search for:
browser.ctrlTab.previews
Set its value to Trueand you're on your way.

 

 

Add More Rows and Columns to Firefox's New Tab Page


The Best About:Config Tweaks That Make Firefox Better


By default, Firefox's new tab page shows 9 sites. If you want it to show more, you can do so! Just head toabout:configand search for:
browser.newtabpage.rows
and
browser.newtabpage.columns
Set each to the number you want, and you'll be able to fit more sites on that new tab page.

 

 

Disable Animations for New Tabs, Tab Groups, and Full Screen


The Best About:Config Tweaks That Make Firefox Better


Animations are cool, but they can also slow things down if you're on a particularly old machine. To turn off the animations for new tabs, Firefox's "Tab Groups" feature, and the transition to full screen, just search for the following options (respectively):
browser.tabs.animate
browser.panorama.animate_zoom
browser.fullscreen.animateUp
Set the first two of these to False and/or the last to0to turn them off.

These are just a smattering of the options you'll find inabout:config, but they're some of our favorites. To see more, check out Mozilla's huge list, or go exploring for yourself. Be sure to check out our power user's guide to Firefox and our Lifehacker Pack for Firefox for even more great tweaks and power-ups.

Bonus Tip to Reduce Memory:

Now, this is by no means a REAL fix for the Firefox memory leak, but it certainly does appear to help it quite a bit. This little fix will move Firefox to your hard drive when you minimize it, and as a result it will take up less than 10MB of memory while minimized. So far, from my experiences with using this today, when you maximize Firefox it will obviously increase the memory usage. However, it does not seem to go back up to the insane amount that it was at before minimizing it. For example, Firefox was at 180MB of memory usage and then I minimized it and after a few seconds I maximized it. After maximizing it and continuing on my routine business it appeared to only have gone up to 60MB. This seems to be a good solution for me right now since I frequently maximize and minimize Firefox anyways.
Now I know many people will say that Firefox will take longer to maximize since it will be located on the hard drive, but I haven’t noticed ANY delays. It is able to redraw itself just as quickly as if it was located in the ram (in my experience). Okay, now here are the few simple steps:
  1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
  2. Right Click in the page and select New -> Boolean.
  3. In the box that pops up enter config.trim_on_minimize. Press Enter.
  4. Now select True and then press Enter.
  5. Restart Firefox.
See how quick and painless that was? At any rate you can always go back and delete the same setting that you just created if you start to experience any issues. I have also set the browser.sessionhistory.max_total_viewers value to 0 because that will prevent Firefox from caching pages for the back button. This is also supposed to free up some memory that gets stolen.
Update:
Martin has informed me that this fix also works for Thunderbird. I am not a Thunderbird user so I didn’t realize this. After thinking about it I realized it “should” also work for Netscape, Mozilla, and SeaMonkey. Also, this fix is only for Windows machines (sorry Mac users).




Source: http://lifehacker.com/the-best-about-config-tweaks-that-make-firefox-better-1442137111