ghacks Technology News

Make Firefox Search For Terms With Periods In The Location Bar

When a user enters a search term in the Firefox location bar (address bar, awesome bar) it is determined if the entered term is an actual web address or a search term. If it is a search term a search using the default search engine is performed. If it is a web address the web address is loaded directly.

Firefox assumes that all phrases that make use of a period are web addresses and will try to load them. This can be quite frustrating if a user wanted to look up a file name in a search engine. You can test that yourself by entering svchost.exe in the address bar. Firefox will try to load the website svchost.exe even though the .exe domain extension is not existent.

There is no Firefox setting or add-on that can restrict the extensions to the known domain extensions but there is another way to directly saerch for terms with periods in Firefox using the location bar.

firefox search

All that is needed is to place a “?” before the search term. While a search for svchost.exe would result in a page not found error in Firefox a search for ?svchost.exe would perform the search in the default search engine and deliver the desired result.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Change the Firefox Location Bar Search Engine
How To Change The Default Firefox 4 Address Bar Search Engine
Search Web Sites In Firefox Web Browser
Firefox Search Tweaks
Change Address Bar Search Behavior In Firefox



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Friday September 19, 2008 -
Tags:, , , , ,


Responses so far:

  1. That’s a real tip! I will give it a try!…done… i just tried it and some words with the ? before it give me wikipedia results…nice!

  2. USBman says:

    Good find!

    Another nice option is to use Cybernetnews‘ wonderful CyberSearch addon (also see here).

    Among other features, it adds the ability to conduct Google searches and show the results directly within the AwesomeBar! In my opinion, this takes the AwesomeBar to the next level – a terrific addon worth taking a look at!

  3. Martin says:

    Webmaster that’s because those have authority listings. Whenever you enter a keyword in the location bar with a site having an authority listing for the site is loaded automatically, otherwise the search results are displayed.

    USBMan I agree. A great Firefox add-on.

  4. Rob says:

    Firefox’s quick keyword search is also a solution to this. I have mine setup so typing “g svchost.exe” in the address bar searches google for svchost.exe, “w svchost.exe” searches wikipedia, etc. See http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php for more.

  5. Gavin says:

    An excellent alternative to this, actually, is adding a keyword to a search box…like say, google or wikipedia’s. There’s a right-click menu option that pops up when you click in search boxes that does this, named something like “add keyword to this item” or whatnot. I use, for instance, g for google…so if I want to search for something in google, I hit ctrl+L, and type something like “g whatever” and i get my search! Yay! ^^.

  6. Peter says:

    Won’t putting it in quotes work too?

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us