Subscribe to How-To Geek

Recommended: Click Here to Run a Free Scan for Common PC Errors   [Sponsored Link]

Change Ctrl+Enter Behavior in Firefox

My good friend Daniel asked me yesterday how to change Firefox so that Shift+Enter auto-completes *.org instead of *.net. After about a 2 minute google session, I had the answer to share with everybody.

If you are unfamiliar with how this works, you can enter in howtogeek into the address bar, and use Ctrl+Enter instead of just hitting enter and Firefox will automatically complete it to www.howtogeek.com.

About:Config Tweak

To adjust the built-in Ctrl+Enter setting, you can just set some values in the Firefox configuration to change the default from .com to whatever else you want. If you want to change Shift+Ctrl+Enter then you'll have to skip down to the next section.

Navigate to about:config in your address bar, and then filter by browser.fixup as shown here:

image

There are a couple of values that you can set related to this setting:

  • browser.fixup.alternate.enabled - You can use this to turn the Ctrl+Enter behavior off entirely.
  • browser.fixup.alternate.prefix - This value sets the prefix assigned before the keyword you type.
  • browser.fixup.alternate.suffix - This value sets what is assigned after the keyword. For instance, you could use this to change the default suffix to your country code, like .co.uk

Use the URL Suffix Extension

If you want to configure all of the settings, including the Shift+Enter for .net and the Ctrl+Shift+Enter for .org, you can use the URL Suffix extension to configure all of them, or even set a custom value for when you hit Enter in the address bar.

Install the extension, and then open up the options through the add-ons screen. You'll see this easy to use dialog:

image

Any changes you make in here should be immediate.

Download URL Suffix Extension for Firefox

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 09/28/07 and tagged with: Firefox, Firefox & Internet

Comments (3)

  1. Wikzo

    Didn't know about that feature … looks cool, thanks :)

  2. Amazed

    Wow just what I was looking for, it helps you add in .com.au and remove the rarely used .org

    Perfect!

  3. Henry

    Thanks for the tips and pointer to URL Suffix. I've been looking for a way to disable the Shift-Enter behaviour because of the annoying way it interacts with Smart Keywords (e.g. if I type google "search terms" in the address bar and hit Enter a few milliseconds before releasing the Shift I was holding down to add the last quote mark, it appends www. and .net and messes it up).


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.