Save typing on URLs with CTRL + ENTER in Firefox

I’ve just seen this tip on Lifehacker, about not typing full URLs in Firefox. Basically, you can type just the keyword of the domain name e.g. “lifehacker”, hit CTRL and ENTER together, and it will add on the http:// and the .com . This then made me curious about how I could alter this for my own needs. I’d prefer it to jump to .co.uk. A bit of searching and digging about came up with a solution:

  • Type about:config into the Firefox address bar.
  • In the Filter bar, type suffix
  • You should get a short list of values (probably just the one). The one we are going to modify is browser.fixup.alternate.suffix
  • Right-click on this value, and select Modify
  • Change the default value of .com to .co.uk and click OK.
  • Close the tab, and try it out. If you don’t like it, repeat the process again and change it back to .com

Obviously you can change this to whatever top or second level domain you like.