Block Firefox's address bar search feature

Martin Brinkmann
Dec 30, 2013

If you are using the Firefox web browser, you have two options to search the Internet. You can use the search form displayed in the main toolbar or the address bar.

These two search options differ in several regards. For instance, if you enter a website address into the search form, something like will do, you are still taken to the search results page of the selected search engine. If you do the same in the address bar, the address is loaded instead.

As far as the address bar is concerned: Firefox attempts to load a usable URI (Uniform Resource Identifier) first. If you enter a domain name, it will be loaded. If you enter something like test, it will be completed to and opened. Only when that is not possible, is the term that you have entered redirected to the search engine of the browser.

Sometimes, you may want to prevent searches from being launched by Firefox, for instance when you mistype a domain name in the address bar.

If you are redirected to a search results page because of that, you will have to type the full name again or hope that one of the results displayed on the page lead to it.

Firefox users can disable searches from the browser's address bar. This can be useful for the aforementioned case, but also if you have the search form displayed in the browser's toolbar and if you are using it to search.

firefox keyword enabled block searches

To disable search in Firefox, do the following:

  1. Type about:config in the browser's adress bar and hit the enter key.
  2. Confirm you will be careful if the warning screen comes up.
  3. Search for the term keyword.enabled.
  4. It is of the Boolean type, which means that it can be set to either true or false.
  5. The default value is true, which means that searches from the address bar are enabled.
  6. Double-click the preference to change its value to false. This disables searches from the browser's address bar.

If you have disabled changes, you will notice the following behavior when you type in the address bar:

Firefox will attempt to match what you type with a domain name, no matter what. This means that it will either load a domain if what you have typed can be matched, or a page not found error if it could not be matched.

You can undo the change at any time with a double-click on the preference so that its value is true after the operation. A restart of the web browser is not required for the changes to take effect.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. BardicDruid said on August 1, 2022 at 4:38 pm

    Mozilla has changed everything so this won’t work

  2. Threshold said on December 30, 2013 at 6:38 pm

    Before the so-called “awesome” bar was introduced there was a great addon that let you decide what results you would get from searching the address bar.
    You could pick web or bookmarks or history or a combination of the 3.
    Unfortunately that addon stopped working with the introduction of the awesome bar which doesn’t offers the chance, for example, to just search history+bookmarks but no web results like I’d like.

    1. Martin Brinkmann said on December 30, 2013 at 6:42 pm

      This can now be done with restrict keys, at least partially.

      Use * searchterm to only search bookmarks
      Use ^ searchterm to only search history

      1. Threshold said on December 31, 2013 at 7:39 pm

        Thanks Martin.
        As you said only partially.

  3. sirpaul2 said on December 30, 2013 at 3:58 pm

    Yeppers! Click the little down arrow immediately after the search bar icon in the Search Bar. Select ‘Manage Search Engines’. In the popup, select ‘Get more search engines’. A new tab will open. Pick one.

  4. Andrew said on December 30, 2013 at 2:16 pm

    I don’t mind it searching, but It always searches via Google, I’d prefer it searched using Duckduckgo, is this easy to do?

    1. Martin Brinkmann said on December 30, 2013 at 3:53 pm

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.