3D Pictures in Paint.NET Vista Review Price Drop Notifications Firefox Extensions Cause Memory Leaks and Crashes Configure Opera Toolbars
Collapsed This Week Collapsed CyberNotes
Collapsed Last Week

CyberNotes
Web Browser Wednesday


Firefox 2 Banner Firefox 2 has received millions and millions of downloads in the first week which is absolutely amazing. Even though the browser is really great the best part of using it is being able to tweak it until your heart is content.

It was back in July that I put together a nice tweak guide for Firefox 2 Beta 1 and most of the things still work fine in the released version. I have decided to update the guide, however, because there are a few things that I think could be added. I figured it is always nice to have one central place that you can turn to when you are configuring Firefox.

Table of Contents:

 

–How To Use About:Config–

Almost all of the tweaks use the about:config screen in order to change the options. By now I’m sure most of you are familiar with using it but in case you aren’t I’ll give you a quick run through.

  1. Start Firefox.
  2. Type about:config into the address bar and press Enter. You should be presented with a screen similar to this:
    Firefox about:config
  3. If I tell you that the key already exists then you can type the name of the preference in the Filter box. Once you find the preference you just need to double-click on it to change the value.
  4. If I tell you that the key does not exist then you you will need to create a new value. The value may be a string, boolean, or an integer and can easily be created by right-clicking anywhere in the screen:
    Firefox about:config Menu
  5. You may need to restart your browser for some of the options to take effect. All preferences can be reset to their default value by simply right-clicking on the option in about:config and selecting Reset.

    Alright…it’s tweak time!

 

–Configuring The Scrolling Tabs–

Scrolling Tab Bar Firefox 2 is now designed to create a scrolling tab bar when there are an abundance of tabs open. It is hard to define “abundance” because some people prefer to have really small and nearly unreadable tabs instead of having them scroll.

  • Name: browser.tabs.tabMinWidth
  • The preference name already exists and does not need to be created.
  • Default Value: 100 (pixels)
  • Possible values:
    • Value greater than 100 will initiate scrolling sooner.
    • Value less than 100 will initiate scrolling later.
    • Value of 0 disables scrolling.

 

–Configuring The Red X (Close Button)–

Firefox Close Buttons The placement of the Close Button has been a very controversial subject for many people. I have run into several individuals who hate that there is now a button on every tab while others say “it’s about time.” I like the feature but if you’re one of the people that don’t then you can easily change it:

  • Name: browser.tabs.closeButtons
  • The preference name already exists and does not need to be created.
  • Default Value: 1
  • Possible values:
    • 0 - display a close button on the active tab only
    • 1 - display close buttons on all tabs
    • 2 - don’t display any close buttons
    • 3 - display a single close button at the end of the tab strip (Firefox 1.x behavior)

If you decide that you want to leave the Close Button on all of the tabs then there is another configuration option that you may be interested in. This option is considered the clipping width and refers to how small a tab can be and still display a close button. It only applies to the tabs other than the one that is currently selected.

  • Name:browser.tabs.tabClipWidth
  • The preference name already exists and does not need to be created.
  • Default Value: 140 (pixels)
  • Possible values:
    • Value greater than 140 will hide the Close Button sooner.
    • Value less than 140 will hide the Close Button later.
    • Value of 0 disables the hiding of the Close Button.

–Change Address Bar Search To “I’m Feeling Lucky”–

Google I'm Feeling Lucky Boxers Firefox no longer uses the “I’m Feeling Lucky” search by Google. Now it uses the “Browse By Name” which is very similar. In fact, you may not even notice a difference but there definitely is.

I put together a search box that will demonstrate the difference between the two types of searches. Just type a word in the box and press the respective button for the search type that you would like to perform:

Basically the “Browse By Name” will only take you directly to a site if Google is sure that the first result is what you’re looking for. Otherwise it will take you to the Google Search Results page. If you type “Microsoft” into the box both searches will give you the same result but if you type “Stanford” into the box they will be different.

If you want to keep the “Browse By Name” then you don’t have to do anything, but those of you that want to switch back to “I’m Feeling Lucky” can use this information:

  • Name: keyword.URL
  • The preference name already exists and does not need to be created.
  • Default Value: Browse By Name (right-click and copy the URL)
  • Possible values:
    • I’m Feeling Lucky (right-click and copy the URL)
    • You can also change it to any other search strings

 

–Adding Other Default Feed Readers–

Firefox Feed Selector In my last article on tweaking Firefox I walked through the 11-step process to adding another feed reader to the existing list that Firefox has. There is a much easier way that Mozilla Links pointed out and it is as simple as clicking on a few things. Just click on any of the feed reader links below to add them to the list in Firefox (you’ll be prompted to confirm the addition):

 

 –Unresponsive Scripts–

Firefox Unresponsive Scripts Sick of getting the unresponsive script error messages? In Firefox 2 a script will be given 20 seconds to execute, and anything beyond that it will display the script warning. If you are constantly getting these warnings (common on some slower computers) then you should consider increasing the duration.

  • Name: dom.max_script_run_time
  • The preference name already exists and does not need to be created.
  • Default Value: 20 (seconds)
  • Possible values:
    • Value greater than 20 will delay the unresponsive script longer.
    • Value less than 20 will delay the unresponsive script sooner.

 

 –Microsummary Update Interval–

Firefox Microsummaries Microsummaries have the potential to become extremely useful but they need a little push. For CyberNet I came up with three different ways that I could use Microsummaries to keep users more informed of new posts and comments. If you haven’t been using the Microsummaries because they don’t update frequently enough then you can always adjust it:

  • Name: browser.bookmarks.microsummary.updateInterval
  • The preference name does not exist and needs to be created. Use an Integer type when creating the preference.
  • Default Value: N/A
  • Possible values:
    • The number of minutes between updates expressed as an integer.

 

–Changing The User Agent–

Firefox User Agent If you run into a site that says it is not compatible with your browser there may be a good chance that it’s because you are running Firefox 2. If you know it worked fine in Firefox 1.5 then you should try to change your user agent. By doing this Firefox can identify itself as a previous version, such as Firefox 1.5, which may solve the compatibility issue.

  • Name: general.useragent.extra.firefox
  • The preference name already exists and does not need to be created.
  • Default Value: Firefox/2.0
  • Possible values:
    • Firefox 1.5
    • Firefox 1.5.0.7
    • etc…whatever identification string you would like, but the I listed should work fine.

–Hide The Go Button– 

Firefox Go Button If you haven’t noticed that new Go button can’t be removed from the Address Bar. Well, at least not in the typical fashion of removing buttons from toolbars. There is a configuration option that can be used to remove the button though.

  • Name: browser.urlbar.hideGoButton
  • The preference name already exists and does not need to be created.
  • Default Value: false
  • Possible values:
    • false - display the Go button
    • true - hide the Go button

 

–Eliminate JavaScript Popups–

Firefox is setup to let you customize how you want it to handle popup windows. In the Options they can be set to open like normal in a new window or they can be set to open in a tab. However, JavaScript popup windows are a slight exception but can be changed so that they are treated the same way as any other popup.

  • Name: browser.link.open_newwindow.restriction
  • The preference name already exists and does not need to be created.
  • Default Value: 2
  • Possible values:
    • 0 - Open JavaScript windows the same way as you have Firefox handle new windows. This is my recommendation because if you have Firefox set to open new windows in a new tab then it will treat JavaScript windows the same way.
    • 1 - Allow all JavaScript windows to popup if requested.
    • 2 - Open all JavaScript windows the same way as you have Firefox handle new windows unless the JavaScript call specifies how to display the window.  

 

 –Enable Spell Checking In All Text Fields–

Firefox Spell Checker The inline spell checking is probably my favorite feature in Firefox 2 but it doesn’t check the single-line text boxes for spelling mistakes. You can right-click on the field and have it check the spelling or you can permanently turn spell check on by changing a configuration option.

  • Name: layout.spellcheckDefault
  • The preference name already exists and does not need to be created.
  • Default Value: 1
  • Possible values:
    • 0 - Disable the spell checker
    • 1 - Enable the spell checker for multi-line text boxes
    • 2 - Enable the spell checker for all text boxes

 

–Increase Maximum Number Of Connections– 

Vista Connections When you go to download multiple files you may notice that Firefox will only let you download two files at a time. If you want to download more you will have to increase the number of connections Firefox can make.

  • Name: network.http.max-persistent-connections-per-server
  • The preference name already exists and does not need to be created.
  • Default Value: 2
  • Possible values:
    • Increase the value to something larger than 2 if you want to have the ability to download more files simultaneously.

 

 –Open Search Box Results In New Tab–

Firefox Search The search box in the upper-right corner of Firefox makes it really easy to search your favorite sites. You can get each of those search queries to open in a new tab with this simple tweak:

  • Name: browser.search.openintab
  • The preference name already exists and does not need to be created.
  • Default Value: false
  • Possible values:
    • false - open search box results in current tab
    • true - open search box results in new tab

 

–Disable Session Restore–

The built-in session restore feature is really nice but I use Tab Mix Plus and its session restore is a little nicer (it remembers things like tabs that I have protected). It has some nice features but if you don’t disable the one that Firefox has then you may end up receiving duplicates of all your tabs.

  • Name: browser.sessionstore.enabled
  • The preference name does not exist and needs to be created. Use an Boolean type when creating the preference.
  • Default Value: true
  • Possible values:
    • false - disables the built-in session restore
    • true - enables the built-in session restore

 

–Make The Tabs Take On Your Operating System Theme–

This feature was just added to the list because of the great response it had when I posted it. In Firefox 2 the tabs look the same in almost every operating system but in reality they should take on the properties of the operating system. By that I mean when you hover over a tab it should look the same as when you hover over a button in a normal application. For details on doing this please go here but this is a screenshot of what my new tabs look like in Windows Vista:

Firefox 2 System Tabs

 

 –Lower The Physical Memory Used When Minimized–

Windows Control Panel This last one is a classic for our site. This article was posted back in March of 2006 and has received over 4,300 Diggs. Since that time it has brought in nearly 200,000 unique visitors and many find that it does exactly what they want.

This tweak will send Firefox to your virtual memory when you minimize the browser, therefore freeing your physical memory for other programs to use. Firefox will reduce its physical memory usage, when minimized, to approximately 10MB (give or take some) and when you maximize Firefox it will take back the memory that it needs. Some people argue that this is not a good thing to do but other browsers, like Opera, have are setup to do this by default.

  • Name: config.trim_on_minimize
  • The preference name does not exist and needs to be created. Use an Boolean type when creating the preference.
  • Default Value: N/A
  • Possible values:
    • true - this enables Firefox to be written to the virtual memory when minimized.

 

–Overview–

Firefox 2 is an amazing browser and I hope you’ll find some of the tweaks in this guide to be beneficial. Many of these settings I have presented at one point or another in case you are looking for more details.

RSS Icon This is just one of the hundreds of CyberNotes we have done. You can find more of them by visiting our CyberNotes category, or by subscribing to our CyberNotes feed. We also have a full feed available if you want to receive all of our articles in your reader!

Tags: CyberNotes, Firefox, Software, , , , ,

Learn Firefox
Previous ArticleNext Article
 

Related Posts:


32 Unread Comment Tracking CyberMark This Article
RSS Icon
32

  1. Avatar

    Extremely helpful. I would digg it, but some idiot has banned it as a “news middleman”.

  2. Avatar

    I’m glad you found it useful. :)
    I do agree that it is unfortunate we are banned from Digg but I love to see people who still submit our articles every now and again using TinyURL. I’m not condoning that kind of activity because if Digg wants to ban us then they can, but it is just nice to see the support that we receive and the extra length that people go to share our articles.

  3. Avatar

    Wow. Now this is what I call a Tweak Guide. Very useful.

  4. Avatar

    Very helpful.

    Could you just clear up the “Unresponsive Scripts” one please? A value over 20 does what, and a value under 140 does what? What about a value under 20? A value over 140?

    Also, is there another way that you could change the “network.http.max-persistent-connections-per-server” value, as mine was already set at 25?

    Thanks.

  5. Avatar

    Sorry for the double comment. Enable Spell Checking in All Text Fields has the same name as Eliminate Javascript Popups.

    Also, for the unresponsive script, it says to make the time longer, set it above 20, and to make it shorter, less than 140. Well what if I pick like 80. That applies to both of the criteria. Was that a typo? And is it possible to stop those messages altogether? (I choose stop script each time so can I just make that the default somehow and have those messages never show again?

    And thirdly, maybe someone could help me with this. I saw in some screenshots when a word is spelled incorrectly, the person right clicks and gets a list of spelling suggestions. But when I right click on a misspelled word it brings up the regular context menu. How do I fix that?

  6. Avatar

    Yeah this tweak guide rocks, I’ll be playing with this stuff for a while now! Thanks! :mrgreen:

  7. Avatar

    Hey, thanks for the post, but for the tweak on how to turn on spell checking for one-line input boxes, which is what I was looking for, you repeated the last configuration option, and not its own one.

  8. Avatar

    Great guide. One thing though.. on the item for –Enable Spell Checking In All Text Fields–, the entry name should be layout.spellcheckDefault I believe.

  9. Avatar
    Max wrote:
    Sorry for the double comment. Enable Spell Checking in All Text Fields has the same name as Eliminate Javascript Popups.

    Also, for the unresponsive script, it says to make the time longer, set it above 20, and to make it shorter, less than 140. Well what if I pick like 80. That applies to both of the criteria. Was that a typo? And is it possible to stop those messages altogether? (I choose stop script each time so can I just make that the default somehow and have those messages never show again?

    All of you were right about the mistakes I made. Thanks for pointing them out and they have been corrected. Enjoy the guide!

    Max wrote:
    And thirdly, maybe someone could help me with this. I saw in some screenshots when a word is spelled incorrectly, the person right clicks and gets a list of spelling suggestions. But when I right click on a misspelled word it brings up the regular context menu. How do I fix that?

    It appears in the normal context menu but it may not always have suggestions. If you type “teh” instead of “the” does it have a list of recommendations?

    Darshan wrote:
    Also, is there another way that you could change the “network.http.max-persistent-connections-per-server” value, as mine was already set at 25?

    That is the only way that I know of. If you have already increased that value then you shouldn’t need to change it.

  10. Avatar
    Ryan wrote:
    If you type “teh” instead of “the” does it have a list of recommendations?

    Nope, just brings up the normal context menu again.

  11. Avatar

    If you upgraded from Firefox 1.5 I could see that transition causing some sort of problem. To make sure it isn’t any extensions maybe you should start Firefox in Safe Mode and possibly even try a clean install or new profile.

  12. Avatar

    –Configuring The Red X (Close Button)–
    i love this red X but my problem is when i open too many
    tabs in ffØŒclose button only display on current tab and
    don’t display on other tabs :?

  13. Avatar

    Thanks for the great updated guide. I had the beta1 guide bookmarked but I now replaced it with this one.

    I noticed that change in the location-bar search, but had no idea how to get it back to I’m Feeling Lucky. Luckily I saw you’re fix

    Also, I changed the max-downloads to 10 (I never noticed it before, but why would I want to be limited)

    Thanks for continuing excellent tech advice

  14. Avatar

    Thanks for this stuff.

    Regards,
    Saawan.

  15. Avatar

    Thanks! Great wOrk. :D

  16. Avatar

    This is a great read, and guide.
    I reccomend this to anyone who uses Firefox.

  17. Avatar

    Very Nice! Thanks!

  18. Avatar

    A few goodies I wasn’t aware of. Thank you!

  19. Avatar

    I’m glad everyone is still getting a lot of use out of this guide! If I get some time I think I could add a little bit to it now. :)

  20. Avatar

    Surprised that Sky Pilot Classic was not included in your list of 200 themes. I’ve been using it for several years and thoroughly enjoy the coloring and the very useful toolbar grippies which is something that Firefox lost.

  21. Avatar

    Lower physical memory when minimized appears to be a great addition. Prior to adding it according to Task Mgr, memory usage was 106,840kb and VM was 164,732. Reduced to the task bar it was 32,256 and 92,884. Some reduction!

    Upon restoration to full screen, memory was 47,860 and VM was 94,828 — and that’s after letting it run up for awhile. Now after running it for another 10 minutes the numbers are 73,528 & 98,784. And the only thing I’ve done in FF is to move around this page! Again minimized and it is 62,888 & 99,576. Not much of a change on the 2nd time around. Wonder why wasn’t it taken back down to around 32,256??

  22. Avatar

    Re. –Configuring The Red X (Close Button)–

    I tried this and it worked fine -as advertized- in my toshiba laptop; but in my dell desktop it showed the x without the button, & only when I hover the cursor over the x , then the button is shown/displayed in blue!!

    Any thoughts on this mystery!!??

:mrgreen: :| :twisted: :arrow: 8O :) :? 8) :evil: :D :idea: :oops: :P :roll: ;) :cry: :o :lol: :x :( :!: :?:

Note: All links posted in comments will automatically be hyperlinked.

↓ Expand Text Area  or  Decrease Text Area ↑

 Find out how to track new comments!


 

  1. Firefox 2 Tweaks - Firefox Facts
  2. TPN :: The Global Geek Podcast » Blog Archive » The Global Geek Podcast #025
  3. ปรับแต่ง about:config (ภาค 2) • FirefoxThai | Blog
  4. Basement Tapes » CyberNet’s Updated Guide On Firefox 2 Tweaks
  5. Funky Penguin News » Blog Archive » CyberNotes: CyberNet’s Updated Guide On Firefox 2 Tweaks
  6. Users Guide to the Firefox 2.0 Web Browser at Kyle’s Cove
  7. Almost, Not Yet - » Blog Archives » links for 2007-01-15
  8. jemmille.com » You’re Still Not Using Firefox?
  9. Fx 2.0 Tweaks Guide « Firefox Extension Guru’s Blog