I love the ability to just type something into Firefox's address bar and do a Google search. But I was wondering if there was some way to customize what search engine Firefox used?
In FireFox, in your address bar type
and press Enter. Now look for an entry that's titled "
By default it should be set to google, which uses this query URL:
Some examples for search engines' query URLs:
If you want an other search engine, and don't know the query URL, do the following:
The hash can be created by using this example Bash script
I had this problem when the default search UI changed in the latest version of firefox. When I changed the default search in the search bar, the search from the address bar also changed.
For instance, this...
Results in this...
However if you want to choose which engine to use each time, then you should go with the solution from @harrymc
I hope this helps.
I have confirmed this works on FireFox 34.0.5 on OS X. This is the latest stable release at the time of posting this answer.
In the default menu layout, there is a search box to the right of the address bar. On the left side of this search bar, is the logo of the current default search engine. To choose a new default search engine, click the logo, then select a new default search engine from the drop-down menu. The default search provider is then used for all searches made from the address bar.
The option of Keyword.Url, as of FF23, has been removed.
The address bar (1) and the search bar (2) share the same settings. So, if the search bar is set to Yahoo, then so it will be when you search (see screen below)
To add a new provider to the list which affects both the 'awesome bar' (now called location bar I think) and the search bar, choose the engine from the search box drop down arrow (beside the Purple Y for Yahoo! (near to the number 2))
However, as it currently stands, it looks like the Keyword.Url parameter has been removed. There is nothing which replaces it (in the same area).
This is speculation but I believe this functionality was removed to prevent search hijacking.
There is also additional search options with the latest Firefox, if you right click in any (most/some) search boxes, even the one at the top of this SU page, you can "Add keyword to this site". This will then let you choose the search engine from the 'location bar' (pictured as 1) and add your search phrase by typing in the bookmark name you gave.
And here is the reasons fully behind the decision https://bugzilla.mozilla.org/show_bug.cgi?id=873734
In Firefox 34 the search UI has been changed, but one can still use keyword search in the address bar, even though the "Edit Keyword" option has disappeared from the "Manage Search Engine List" dialog.
One can, for example, open up
Choose "Add a Keyword for this Search...", which will get this dialog :
Enter "bing" as the keyword. Now you can write in the address bar :
And get this :
For Google, one can use the same mechanism and maybe define the search keyword as "g" for brevity.
If you wish to delete such a keyword, this can be done from the Bookmarks menu.
protected by slhck♦ Sep 16 '12 at 18:41
Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?