10 Handy Firefox about:config Hack
Unless you’re a Firefox power user, you may not be familiar with the about:config page. The Firefox about:config page is not so much a page as it is a somewhat hidden configuration section.
It’s hidden because it’s fairly powerful and not nearly as simple to use as the standard Preferences window. In the about:config page, you have to know what you are doing or you can mess things up a bit. In fact, when you attempt to go to that page for the first time, you have to accept an agreement (which is really just a warning) before you can continue.
How this page works is simple. You reach the page by entering about:config in the address bar. There are entries (one per line) that handle various types of configurations. Each entry has a searchable keyword. The entries can be of Boolean, integer or string value. Entries contain Name, Status, Type and Value. Typically, you will be modifying only the Value, by double-clicking on it and making the change. With all of that in mind, let’s take a look at 10 of the best ways you can “hack” the about:config page.
If Firefox is fubar’d because you accidentally misconfigured about:config, you can fix it in one of two ways:
|> Make a backup of your prefs.js file before you start editing. Then, if something goes wrong, you can restore it by copying it over the corrupt file.
|> If you can’t restore via a backup prefs.js file, you can exit Firefox and issue the command firefox -safe-mode to bring up the Firefox Safe Mode screen. Then, just select Reset All User Preferences To Firefox Defaults. Note: this will restore all user preferences to their default values.
1. Speed up Firefox
This hack requires a few steps. Search for pipelining in the filter and you should see:
network.http.pipelining: change this to true.
network.http.proxy.pipelining: change this to true.
network.http.pipelining.maxrequests: change this to 8.
Now search for max-connections and you should see:
network.http.max-connections: change this to 96.
network.http.max-connections-per-server: change this to 32.
2. Disable antivirus scanning
This is only for the Windows version. If you’re downloading large files, this scanning can seriously slow things down. And since you will most likely scan the downloaded file anyway, you’ll probably want to disable this. Of course, if you are uber paranoid (not a bad trait for computing), you might want to leave this entry alone.
To disable antivirus scanning, search for scanWhenDone and you should see:
browser.download.manager.scanWhenDone: change this to false.
If a pop-up window lacks the features of a browser window, Firefox will handle it like a pop-up. If you would prefer to open all windows, including pop-ups, as new tabs, you need to tell Firefox in about:config. Search for newwindow and you will see three entries. Of those three entries, you will want to modify:
browser.link.open_newwindow.restriction: change this to 0.
4. Spell checking in all fields
By default, Firefox checks spelling only in multiple-line text boxes. You can set it to check spelling in all text boxes. Search for spellcheckdefault and you should see:
layout.spellcheckDefault: change this to 2.
5. Open search bar results in new tab
When you use the search bar, the results display in the current tab. This can be a nuisance because you will navigate out of the page you are currently in. To make sure Firefox always opens search results in a new tab, search for openintab and you should see:
browser.search.openintab: change this to true.
6. Auto export bookmarks
In Firefox 3, bookmarks are automatically saved and exported for you. The only problem is that by default, they’re saved as places.sqlite instead of the more convenient bookmarks.html. To change this setting so that they can be easily re-imported, search for autoExportHTML and you should see:
browser.bookmarks.autoExportHTML: change this to true.
7. Disable extension install delay
One of the few gripes I have with Firefox is the silly countdown you must endure every time you want to install an extension. Fortunately, this can be disabled. Search for enable_delay and you should see:
security.dialog_enable_delay: change this to 0.
8. View source code in an external editor
When you need to view the source of a page, it opens up in browser pop-up. Most developers would probably like to have that opened in their favourite editor instead of having to cut and paste. To do this, there are two entries to modify. Search for view_source.editor and you will see:
view_source.editor.external: change this to true.
view_source.editor.path: change this to the explicit path to your editor of choice.
9. Get more add-on search results
When you do a search in the Add-on window, you’ll see just five results. You might find it more efficient to increase this number. Search for getAddons and you should see:
extension.getAddons.maxResults: change this to 10 (or higher, if you want to see even more).
10. Redefine the Backspace button
Did you know you can configure Firefox to use the backspace button to either go back a page or go up a page? This keeps power users from having to go back and forth from the keyboard to the mouse. Search for backspace and you will see:
browser.backspace_action: change this to 0 for previous page and 1 for page up.