Welcome to EMC Consulting Blogs Sign in | Join | Help

Diary Of A Madman

The rantings and raves of a Madman in the globally connected digital world.. join me in a journey into the wireless ethernet... outpatients of the digital universe℠ View Derek's profile on LinkedIn

Here be dragons... and tweak the Fox

 

We all love and use Firefox- it's so much better than Internet Explorer and the massive variants and issues that web developers have when creating browser compatibility such a pain when you have to think IE6, IE7 and then lo and behold we have IE8 on the horizon!! So here is something for the up and coming Bank Holiday Weekend!!

So, a nice chap called Damien from Make Tech Easier has devised a list of the best FireFox About:Config Tricks that will really help you get the best out of The Fox.

These range from performance enhancing tricks to basic address bar toodles. I have listed a few here - but get yourself off to MakeTechEasier and get the full lowdown...

You may have installed countless add-on in Firefox to enhance your using experience, but if you want to get the most out of Firefox, you really have to hack your way into the about:config.

The about:config page contains most (if not, all) of Firefox configuration options. It is so far the most effective, and the most powerful way to tweak and enhance your Firefox performance. Here are some of my favourite tweaks.

Accessing your about:config page

In your Firefox, type about:config in the address bar.

image

Here be Dragons! You will be shown a warning page. Click the “I’ll be careful, I promise!” button to proceed.

image

On the main page, you will see a long list of configuration entries. Enter the name of the key you want to update in the “Filter” field. The list will narrow to only the entries that match your keyword as you type.

To modify the value, simply double click on the entry value field and update the entry. That’s all!

Isn’t that simple? Now, let’s get to the toodling.

1) Adjust the Smart Location Bar’s Number of Suggestions

In Firefox 3, when you start typing in the location bar, a drop-down list of suggestion URLs will be shown. If you want it to show more than 12 suggestions (12 is the default), you can adjust the browser.urlbar.maxRichResults keys and get it to show the number you want.

image

Config name: browser.urlbar.maxRichResults
Default: 12
Modified value: Set to your desired number of suggestion. If you want to disable it all together, set it to -1

2) Disable the session restore function

Firefox 3 automatically saves your session every 10 secs so that whenever it crashes, it can restore all your tabs. While this is a useful feature, some of you might find it irritating. To disable this function, toggle the value of browser.sessionstore.enabled to False

Config name: browser.sessionstore.enabled
Default: True
Modified value: False if you want to disable the session restore function

3) Adjust the Session Restore Saving Frequency

Same as above, if you decided to keep the session restore feature on, but want to reduce the session saving frequency, change the value of browser.sessionstore.interval so that Firefox will save the session at a longer interval.

Config name: browser.sessionstore.interval
Default: 10000 (in msecs, equivalent to 10secs)
Modified value: Set it to your desired value. 1000 means 1 sec and 60000 means 1 minute.

4) Enable Advanced Color Profile Support

Firefox has this advanced color profile features that display higher image quality. It is not enabled by default as it has a negative effect on the performance of the browser. If you are concern with the image quality rather than the performance, you can activated it via the gfx.color_management.enabled setting

Config name: gfx.color_management.enabled
Default: False
Modified value: True (if you want to activate the color profile support feature)

5) Disable Antivirus Scanning

This is mainly for Windows users. By default, Firefox 3 automatically scan the downloaded file with the default anti-virus application to make sure it is free of virus. If you download a big file, it could take a long time for the whole scanning process to complete. To increase the performance of the browser, you might want to consider disabling the anti-virus scanning via the browser.download.manager.scanWhenDone key.

Config name: browser.download.manager.scanWhenDone
Default: True
Modified value: False (if you want to disable it)

 

6) Extend Scripts Execution Time

In Firefox 3, a script is only given 10 seconds to respond, after which it will issue a unresponsive script warning. If you are hooked on a slow network connection, you might want to increase the script execution time via dom.max_script_run_time to cut down on the frequency of the no script warning.

Config name: dom.max_script_run_time
Default:10 (in secs)
Modified value: 20, or any values greater than 10

7) Handling JavaScript Popups

When you come across a site that executes a javascript open new window function, and if the popup window is without all the usual window features, i.e. back/forward/reload buttons, status bar etc, Firefox will automatically treat it as a popup and will not open it as a new tab. However, if you find this to be a nuisance and wanted to open all new windows in a new tabs, you can specify it via the browser.link.open_newwindow.restriction setting.

Config name: browser.link.open_newwindow.restriction
Default: 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
Modified values:

  • 0 – open all links as how you have Firefox handle new windows
  • 1 – do not open any new windows
  • 2- open all links as how you have Firefox handle new windows unless the Javascript specify how to display the window

8) Lower The Physical Memory Used When Minimized

This tweak is mainly for Windows users. When you minimize Firefox, it will send Firefox to your virtual memory and free up 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.

The preference name does not exist and needs to be created.

Right click on the background and select New->Boolean.

Enter the name when prompted: config.trim_on_minimize
Enter the values: True

9) Speed up your Firefox

Several tweaks required for this

Config name: network.http.pipelining
Default: False
Modified value: True

Config name: network.http.proxy.pipelining
Default: False
Modified value: True

Config name: network.http.pipelining.maxrequests
Default: 4
Modified value: any value higher than 4, but not more than 8

Config name: network.http.max-connections
Default: 30
Modified value: 96

Config name: network.http.max-connections-per-server
Default: 15
Modified value: 32

10) Increase/Decrease the Amount of Disk Cache

When a page is loaded, Firefox will cache it into the hard disk so that it doesn’t need to be download again for redisplaying. The bigger the storage size you cater for Firefox, the more pages it can cache.

Before you increase the disk cache size, make sure that browser.cache.disk.enabled is set to True.

Config name: browser.cache.disk.capacity
Default: 50000 (in KB)
Modified value:

  • 0 – disable disk caching
  • any value lower than 50000 reduces the disk cache
  • any value higher than 50000 increases the disk cache.

11) Select all text when click on the URL bar

In Windows and Mac, Firefox highlights all text when you click on the URL bar. In Linux, it does not select all the text. Instead, it places the cursor at the insertion point. Regardless which platform you are using, you can now tweak it to either select all or place cursor at insertion point.

image

Config name: browser.urlbar.clickSelectsAll
Modified value:

  • False – place cursor at insertion point
  • True – select all text on click

12) Autofill Address in URL Bar

Other than the smart location feature, you can also get your URL bar to autofill the address as you type the URL.

image

Config name: browser.urlbar.autofill
Default: False
Modified value: True (Have Firefox autofill the address as you type in the URL bar)

 

13) Increase Offline Cache

If you do not have access to Internet most of the time, you might want to increase the offline cache so that you can continue to work offline. By default, Firefox 3 caches 500MB of data from supported offline Web apps. You can change that value to whatever amount of your choice.

Config name: browser.cache.offline.capacity
Default: 512000 (in KB)
Modified value: any value higher than 512000 will increase the cache value

 

14) View Source in Your Favourite Editor

This is very useful for developers who are always using the ‘view source‘ function. This tweak allows you to view the source code in an external editor.

There are two configuration need to be made:
Config name: view_source.editor.external
Default: False
Modified value: True ( enable view source using external text editor)

Config name: view_source.editor.path
Default: blank
Modified value: insert the file path to your editor here.

 

15) Animate Fullscreen Toolbar Collapse mode

In Firefox’s fullscreen mode, toolbars and the tab strip are hidden at the top of the screen and only shown on mouseover. To draw attention to this, there is an animation of the toolbar sliding upwards and off-screen when fullscreen mode is toggled on. For performance issue, the animation of the collapse of the toolbar only appear for the first time. For some reason that you may love/hate the animation, you can adjust Browser.fullscreen.animateUp to switch it on/off for every collapse.

Config name: Browser.fullscreen.animateUp
Default: 1 (animate the toolbar collapse only the first time)
Modified value:

  • 0 -disable the animation
  • 2- enable the animation for every collapse

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

simon.munro said:

not as useful, Firefox has an about:robots page

August 22, 2008 11:31
 

Anthony.Steele said:

layout.spellcheckDefault

0 - No spellchecking

1 - Spellcheck multi-line text areas only - Default value

2 - Spellcheck single line text entry as well as multi-line text areas (this is the tweaked value that I use)

August 22, 2008 22:06
 

User links about "fullscreen" on iLinkShare said:

May 11, 2009 17:33
 

Bookmarks about Popup said:

May 19, 2009 05:14
 

Anti Virus said:

These consulting blogs are very helpful in maintainng and inproving the websites.

September 18, 2009 13:50

Leave a Comment

(required) 
(optional)
(required) 
Submit

About Derek.Dunlop

Somewhere in the wireless ether - digitally connected and running on duracell while hopping from one airport to another- life on the road - forever on tour...

This Blog

Syndication

News

Powered by Community Server (Personal Edition), by Telligent Systems