MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How To Easily Add A Custom Search Engine To Your Firefox Search Bar

Posted by: Damien on October 31st, 2008
  • 5 Comments
  • Share

custom-search-engineHow many times have you been frustrated that you have to go to a site just to search for a particular post or article? Wouldn’t it be great if you can search your favorite websites or blogs right from the Firefox search bar? The search bar itself does not provide you with any methods of adding your own search engine. If you want to add one to your search bar, here are some simple and easy methods that you can use. 

1) Installing Add to Search Bar extension

Add to Search Bar is a Firefox extension that allows you to add any search engine to your search bar. Go to your favorite site. Right click on the Search box and select “Add to Search Bar“.

Add to search bar

2) Create your own search engine via Mycroft Project 

Mycroft Project is a site created by the Mozdev team that hosts a collection of Sherlock and OpenSearch search engine. It also has a form generator that you can use it to create your own search engine.

Mycroft Project

  • Go to http://mycroft.mozdev.org/submitos.html
  • Fill in the form details
  • If you are not sure what to put in the Search URL field, go to your favorite site and perform a search with the site’s search bar. On the address bar, copy the URL and replace your search term by {searchTerms}. Paste the result into the Search URL field. For example, when you search Make Tech Easier, you will get a URL something like this:

http://maketecheasier.com/about/search-result/?cx=012219648382774935931%3A71v9_lruh3c&cof=FORID%3A11&q=your-search-term

Replace your-search-term by {searchTerms} and you get something like:

http://maketecheasier.com/about/search-result/?cx=012219648382774935931%3A71v9_lruh3c&cof=FORID%3A11&q={searchTerms}

Paste this URL to the Search URL field. 

  • Once you have completed the form, scroll down and click on the Generate Plugin button. Code will show up on the text area.
  • Click on the Install Plugin. A window will pop up and ask you if you want to install the search engine in your search bar. 
    install-search-bar 
  • Click Add. Once you are happy, click Submit Plugin to enter your search engine to Mycroft database.

3) Hacking the backend

If you don’t like to install any extensions as you might feel that it will slow down your Firefox’s performance and you don’t want to submit your search engine to Mycroft, the other way that you can do is to hack the backend of Firefox. Don’t worry, it’s very easy.

  • Open up a text editor.
  • Copy and paste the following to the text editor.

<search
name=”Name_Of_Search_Engine”
method=”GET”
action=”URL_Of_Search_Engine_Result_Page”
queryCharset=”utf-8″
>
<input name=”search_parameter” value=”Value_of_parameter_required_to_carry_out_the_search”>
<input name=”q” user>
</search>

  • Change the Name_Of_Search_Engine to your search engine name.
  • Change the URL_Of_Search_Engine_Result_Page to the search url of the site (without the search parameter)
  • In the input field, enter any relevant search parameter in the search url. Leave the <input name=”q” user> as it is.
  • Save the file and give it a .src extension (for example: your_search_engine.src) 

If you are using Windows, save the file to C:\Program Files\Mozilla Firefox\searchplugins

If you are using Ubuntu, first save the file to the desktop. Open up your terminal and type

sudo cp ~/Desktop/your_search_engine.src /usr/lib/firefox-addons/searchplugins/

If you are using Mac OS X, this method does not work. 

Restart your Firefox and you should find your new custom search engine in the search bar

Adding an image to your custom search engine

Create a image of size 16×16 pixels and save it with the same name as your search engine. It doesn’t matter if you save it as jpg, gif or png.

Now copy and paste the image to the same directory where you place the search_engine.src file.

Done!


Damien Oh is the owner and chief editor of Make Tech Easier

Tags: Firefox, Linux, Mac, Search bar, search engine, windows
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • 10 Must-Have Plugins For Windows Live Writer
  • Gmail: Create Custom Signature For Different Accounts
  • Firefox Extension Adds Functionality to Google Analytics
  • How To Install Aptana Studio In Ubuntu Intrepid
  • 6 SEO Extensions for Firefox

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)
  • Best 101 Free Computer Software For Your Daily Use 101 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

2 pingbacks/trackbacks (Click to open)

  • Add any Search to Firefox’s Search Bar | JJjunk
  • KwiClick: Power Up Your Firefox Search and Improve Your Efficiency « Tech Buzz
[Click to close]

5 Responses

  • Alami says:
    November 17, 2008 at 2:14 pm

    All the best search engines piled into one. Including Google, Yahoo, sport search engines, science and medical search engines, encylopedia search engines, government and legal search engines, education search engines, news search engines, meta search engines…..

    http://www.allthebestsearchengines.blogspot.com

    Reply
  • Phobetor says:
    April 11, 2009 at 9:17 pm

    What an excellent resource! I had no idea that adding my own custom search engines to FireFox was so easy to do.

    Formerly, I had to rely on others who had posted customized content to add some of the more obscure search engines that I use to my browser. This was problematic because if I had to repair my windows installation, I lost all the search engines I had added over the course of time.

    I had to hope that the websites I had bookmarked to add aforementioned search engines were still available. In many cases, they were not, so they were simply lost; however, with this tutorial I can add any search engine I want without any dependencies on outside sites which may or may not exist after an extended amount of time has passed.

    Thank you so very much for making this information available. Truly this is an invaluable resource to those who like to customize their search functions.

    Reply
  • rob says:
    October 13, 2009 at 10:24 pm

    Can you make a search engine for gatoroogle.com ? I can’t seem to get it to work for me. Please email me the final product or instructions. I would be very appreciative.

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.