12 Firefox tweaks and hacks


Firefox, the application most used on my computer. Take away itunes, skype, hell even photoshop but leave me with firefox and I’ll be al right 🙂 But there are some hacks and tweaks to make firefox even better. I’ve gathered 12 that I use on my personal installation here.

Change the search features in Firefox

Changing the default google location in the search box.
I’m from Denmark and I want to search on google.dk instead of google.com (This works with every other google local site)

  • Go to your program files\mozilla firefox\searchplugins folder and edit the google.xml file.
  • Find this line <Url type=”text/html” method=”GET” template=”http://www.google.com/search”>
  • change it to <Url type=”text/html” method=”GET” template=”http://www.google.dk/search”> of course you should change this to whatever location you want.

Open search box results in a new tab
Opening the searchresults in a new tab is a great feature as I always forget to open a new tab and end up losing the site I was on. You can change it in you about:config file:

  • In your address type in: about:config
  • Search for browser.search.openintab and change it to true.

Change the I’m feeling lucky google search when you search via your address bar
I never feel lucky. And I don’t want to visit the first google result when I type something in my browser.

  • In your address type in: about:config
  • Find keyword:URL and change it to http://www.google.com/search?q=

Changing the Firefox user interface

Making new tabs open at the end
Firefox 3.6 made a change so new tabs open next to the current one. I don’t like this feature, I like when they just go to the end of the tabs bar. You can change it quite easily.

  • Type about:config in your address bar.
  • Search for browser.tabs.insertRelatedAfterCurrent and change it to false and close the tab. Now your new tabs will open at the end instead of grouping them together

Change the close tab button so it shows at the end of the tab bar.
I like to open and close many tabs at a time, so it annoyed me when the tabs get bigger and smaller so I have to shift around with my mouse (I’ll never get used to ctrl-w).

  • Type about:config in your address bar.
  • Find browser.tabs.closeButtons and set it to 3.

Now your close button will be at the end ( Like it was in some of the older version ) which is great for closing a lot of tabs at the time.

Get Firefox spell check in all fields.
Firefox spellchecks in fields that are more than one line. You can get it to spell check in all fields.

  • Type about:config in your address bar.
  • layout.spellcheckDefault change the value to 2

Get Firefox to remember more (or less) than 10 recently closed tabs
I said I like to open and close a lot of tabs. I tend to lose some important ones at times 🙂 So this is a nice hack for me.

  • Type about:config in your address bar.
  • browser.sessionstore.max_tabs_undo change this to the number you want to see.

Change the number of suggestions Firefox show while you type
This can fill your screen when you are on a laptop, which is annoying. You can lower the number like this.

  • Type about:config in your address bar.
  • browser.urlbar.maxRichResults change to another number.

Enable autofill in address bar as you type
Here’s how to enable autofill in your addressbar.

  • Type about:config in your address bar.
  • browser.urlbar.autoFill set to true

Remove the menu delay
Remove the menu delay in firefox.

  • Type about:config in your address bar.
  • Right click and choose new – integer
  • Call it ui.submenuDelay and set it to 0

Speed and memory in Firefox

Make firefox use less memory when minimized
Firefox loves memory, but I like to use it for other things when Firefox is minimized. You can change the setting here.

  • Type about:config in your address bar.
  • Search for config.trim_on_minimize and change this to true.

Pipelining will speed up your browser by allowing you to make more http connections simultaniously.

  • type about:config in your address bar.
  • Type network.http in the filter box.
  • Find network.http.keep-alive and set it to true if it isn’t
  • network.http.version and set it to 1.1 if it isn’t.
  • network.http.pipelining and set it to true
  • network.http.pipelining.maxrequests and set it to 8, if your internet starts to get a bit tipsy after this set this value to a lower number.

That was 12 small Firefox hacks that I use. Please share your favourite ones.