Tweaks for Firefox

Dec12
  • Share/Bookmark

Difficulty: ★★☆☆☆

Mozilla Firefox is probably the program I daily use the most. The following tweaks are quiet handy, and that’s the reason why I want to share these settings with you.
To configure Firefox, all you need to do is type in your browsers addressbar:

about:config

(If you enter the config screen for the first time, Firefox will prompt you, if you are sure by making this settings.) From this screen you can filter on properties.
(See my related blog post: How to make Firefox faster)

Number of suggestions
Change the number of suggestions of the location bar dropdown list. Default = 12. I changed this to 5. But to disable it, you can specify -1 as value.

browser.urlbar.maxRichResults = 5

Width of the browser tabs
Change the size of the browser tabs. Default they are quiet huge: 250px width. I changed the size to 100px.

browser.tabs.tabMinWidth = 50
browser.tabs.tabMaxWidth = 100px

Select words on double click
When you double click on a word in Firefox, Firefox selects the word plus an extra
space. This can be annoying since you want to copy the word only not
the extra space. So I set this value to false.

layout.word_select.eat_space_to_next_word  = false

Spell checker on all fields
Enable spell checking in all text fields. The default spell checking function only checks for multiline text boxes (default = 1). You can set this for single line inputboxes as well: 2,
Setting to 0, disables the spell checker

layout.spellcheckDefault = 2

No Javascript popups
When you don’t like javascript popup’s you can let Firefox open them
as new tabs. (default = 2). By setting this to 1, no new windows will be opened. By setting it to 0 the new pop-ups will be opened in a new tab.

browser.link.open_newwindow.restriction = 0

Make it faster
Set bidi.support = 0. You’ll probably never need it, so reduce the number of potential bugs and security issues by disabling it.

bidi.support = 0

Set network.prefetch-next = false to prevent random prefetching of webpages which means wasting CPU cycles and bandwidth, as well as subtle privacy and security issues. http://kb.mozillazine.org/Network.prefetch-next

network.prefetch-next = false

Start rendering pages faster by creating a new integer variable (right-click new) nglayout.initialpaint.delay integer preference lets you control how long Firefox waits before starting to render a page. If this value isn’t set, Firefox defaults to 250 milliseconds, or 0.25 of a second.
Set this to 0 to start rendering immideatly. I used the value 50 which is also quiet fast.

nglayout.initialpaint.delay = 50

As default browser.cache.memory.enable is true.
This setting lets Firefox saving copies of all graphical elements
from the current browsing during a session for faster rendering.
I set this to false to free up more memory. (Note that pages from
your history will reload less quickly when you revisits them.)

browser.cache.memory.enable = true

Firefox caches several recently visited Web pages in memory so they don’t have to be regenerated when you press Back or Forward. The integer setting browser.sessionhistory.max_total_viewers determines how many individual Web pages to store in the back/forward cache; each page takes about 4MB (or 4,000KB) of RAM. The default setting is -1, which stores a maximum of 8 pages. for me 3 is more then enough:

browser.sessionhistory.max_total_viewers = 3

Swap out to disk memory when minimized (Windows only). A little-known feature in Firefox allows the Windows memory manager to swap out some of Firefox’s physical memory space to disk when Firefox is minimized but not closed. This allows other programs to use the physical memory that Firefox was previously monopolizing. Firefox’s minimized memory usage with (top) and without (bottom) config.trim_on_minimize. (Click for larger view.)
By default, this feature is turned off, for two reasons: 1) PC memory is generally more plentiful than it used to be, so it makes sense to use it if it’s available, and 2) swapping Firefox’s memory out to disk will slow the program down when it’s restored.
That said, if you run Firefox side by side with other memory-hungry applications, it might help keep them from competing with each other. To enable this feature, create a new Boolean preference called config.trim_on_minimize and set its value to true.

config.trim_on_minimize  = true

Is this too much work for you, see my related post how you can add them in the Mozilla preferences file, and how you can back-up this one:
http://ladysign-apps.com/blog/archives/215


2 Responses to “Tweaks for Firefox”

[...] Vote Tweaks for Firefox [...]

spell check for firefox | Digg hot tags on December 12th, 2008 at 11:58 AM

[...] Vote Tweaks for Firefox [...]

download free spell check | Digg hot tags on December 12th, 2008 at 12:03 PM

Leave a comment