Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way I can add a custom search URL to the Firefox search bar? e.g. I'd like to provide a URL such as http://blahblah.com?search=%s, where Firefox replaces the %s with the content of the search box.

Both IE and Opera can do this, but I can't figure out how to set it up in Firefox.

share|improve this question

10 Answers 10

up vote 22 down vote accepted

If you want, you can also use keywords in the address bar. For example, in my computer typing "wiki bread" searches for "bread" in Wikipedia. To do this, go to the site you want to use to search, right click on its (not Firefox's) search box, and select "Add a keyword". You can then tell Firefox what keyword to use when you want to search in that site. Personally, I find it more efficient than the search bar.

share|improve this answer
1  
I had no idea that existed... just added 'su' for this site! works great, good tip! –  codeLes Jul 17 '09 at 19:40
    
I wish chrome had this. –  Jed Daniels Sep 13 '10 at 20:53
1  
@Jed Daniels Chrome does have it in the form of custom search engines - Options -> Manage Search Engines –  danhersam Jul 3 '11 at 7:12
    
@DanH, yes, but the chrome functionality is frustratingly lacking compared to the firefox ability. For example, it only works with search engines that have the search terms in the URL, and you have no control over which searches get added. –  Jed Daniels Jul 3 '11 at 23:01
    
@Jed Daniels You can add searches manually, but I agree, in Chrome they aren't nearly as user friendly or featureful as in Firefox. Chrome's weak support was one of the reasons I created an alternative to built-in custom search engines - it's at shortmarks.com if you want to check it out. –  danhersam Jul 4 '11 at 4:04

The Add to Search Bar extension lets you create a new search addon with just a right-click.

share|improve this answer
    
I use this for my custom Google Search Engine. –  Leigh Riffel Jul 17 '09 at 19:18

I'd like to provide a URL such as "http://blahblah.com?search=%s" where Firefox replaces the %s with the content of the search box.

You can do this with Firefox! Add a bookmark with that URL, where %s is the search query, then simply set a keyword for the bookmark. You can then search using <key> <search term> in the address bar. For example, the bookmark http://www.google.com/search?q=%s with keyword g means you can type g stack overflow in the address bar to search Google for "stack overflow".

Alternatively, go to the site you want to search, right click in the search box and click "Add a keyword for this search".

share|improve this answer
    
This is simply awesome! One more reason to love firefox. –  qed Oct 20 '13 at 16:49

It's as simple as right clicking in a search field.

The other advantage is that this process creates a bookmark for you. If you use something like XMarks to synchronize your bookmarks, you can access the same search functionality across all synchronised computers.

share|improve this answer
    
Unfortunately it doesn't seem to play nicely with the builtin Firefox Sync. –  sourcejedi Apr 7 '13 at 11:49

Your best bet is to go to the Mycroft Project and search for an already made search engine plugin.

If you can't find one you can create your own on the submissions page. Full instructions are available.

share|improve this answer

Here is a nice tutorial for Firefox's QuickSearch feature:

Quick search in a nutshell, allows you to turn a typical routined web search process into a command line shortcut. For example, instead of going to wikipedia.com to enter the search terms there, you can use “w mySearchTerm” from Firefox’s address bar.

There are only a few steps you'll have to take:

  1. Right click on the search input field on the web page which provides the search form
  2. Choose "Add a keyword for this search."
  3. Give the custom search a name, you'll later use for searching (example: "mysrch" or a single letter)
  4. Search by inserting "mysrch yourSearchTerm." in Firefox's address bar.
share|improve this answer

Instead of creating it manually you can use a service like Searchplugins.net which provides an online form to generate your custom search plugin.

  1. Search for the word "TEST" in the search engine of your choice and copy/paste the resulting url to the form. eg.

    http://blahblah.com?search=TEST

  2. Fill out remaining info / click "create plugin"

  3. Click "Install" which appears above the form. The plugin will be added to your search bar.

share|improve this answer

I believe he's referring to keyword.URL in Firefox's about:config page.

In Firefox's address bar type about:config, then search for keyword.URL and replace its contents with "https://blahblah.com/search?q=", for example.

share|improve this answer

For Google Chrome, when on search.pch.com, you can right click the search box and select "Add as search engine".

When this is complete, you can go into the Google Chrome settings by doing the following:

  • Click the wrench icon on the browser toolbar.
  • Select Options (Preferences on Mac and Linux; Settings on a Chromebook).
  • Click the Basics tab and find the "Search" section.
  • Select the search engine you want to use from the menu. If the search engine you want to use doesn't appear in the menu, click Manage search engines.
  • In the Search Engines dialog that appears, select the search engine that you'd like to use from the list.
  • Click the Make Default button that appears in the row.
share|improve this answer
1  
This is a question about custom search engines in Firefox, not quite chrome. Good answer though! –  Simon Sheehan Jan 5 '12 at 15:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.