Browser

TR Dojo Challenge: How can you use any Web site's search feature directly from the Firefox address bar?

Firefox let's you quickly access any Web site's search directly from the address bar. If you know how, you could earn a TechRepublic coffee mug.

TechRepublic Search box

Depending on which version of Firefox you have and how your installation is configured, you likely have a handy Search box on your Navigation toolbar. This box gives you quick access to several search engines. No need to navigate to Google, Bing, or Yahoo, just select one of the available engines as the default and enter your query.

This process is great for search engines, but what if you want to use the search feature of a Web site that's not a search engine--TechRepublic for instance? Luckily, Firefox has a built-in feature that does just this. Using this feature you can configure the browser to use TechRepublic's site search directly from Firefox's address bar. For example, you could search for Windows 7 tips on TechRepublic by simply entering "tr windows 7 tips" into the address bar.

So, here's the question: How can you use any Web site's search feature directly from the Firefox address bar?

About the TR Dojo Challenge Series

Each Wednesday, I publish a new question designed to test the technical skills and IT prowess of our TechRepublic members. You can submit an answer to the question by posting it within this post's discussion thread.

I'll accept answer submissions for one week after I post the question. At the end of the week, I'll consider the question closed and review the answers. The member, who submits the first best answer, will be featured in a follow-up TR Dojo Challenge article, posted the following week. For being featured on the site, they will also earn themselves a bit of TechRepublic swag-a coffee mug and laptop sticker.

The rules:

Only answers submitted within one week of the initial question's publication date will be considered for the follow-up article and swag.

All answers must be original and must consist of more than a link or links to third-party resources.

I will choose the correct response from the answers submitted and my decision is final.

Good Luck!

About

Bill Detwiler is Managing Editor of TechRepublic and Tech Pro Research and the host of Cracking Open, CNET and TechRepublic's popular online show. Prior to joining TechRepublic in 2000, Bill was an IT manager, database administrator, and desktop supp...

12 comments
novickas
novickas

by novickas@yahoo.com.. from...http://fabworker.com/2008/08/11/search-any-website-from-within-firefox-addressba/ Keywords in firefox allow us to open or search any website very easily. Let us learn how to use them efficiently. A keywords is like a shortcut to a website. To try this feature, type google apple in the address bar and hit enter. Firefox will take you to a google search of apple. This was a predefined keyword meant to search google. Predefined Keyword include: * google ? Google Search * dict ? Dictionary look up * quote ? Google Search with stocks: operator * wp ? Wikipedia * slang ? Urban (slang) dictionary look up Want to search Wikipedia from the address bar? Just type wp search-term This way you can use all the keywords. Create your own keywords for opening and searching any site: Take for example, you want to set a keyword for Lifehacker.com, go to their site and look for the search box. Then right click in the search area and select Add a keyword for this search. A dialog box will appear. Enter name as Lifehacker and keyword as lh (this can be your choice, you can also keep it as a single L). Click Ok. Now if you want to search Lifehacker.com, just go to the address bar and type lh search-term Actually, all the search boxes have a url associated with them. Now if u simply go and type google and hit enter, you will be taken to the google homepage. Just because you did not give a search term. When you add the google search as a keyword, the url provided is http://www.google.com/search?q=%s When you use the keyword with this search, %s value gets changed for the search term. Similarly, it happens with other sites too. So, keywords can be used as a shortcut to open websites and search them at the same time. It is not always true that you will be redirected to the homepage if no keyword is provided (try for lifehacker?s lh term) If you want to set a keyword for the site only, make sure the url associated with the keyword is of the homepage and not the search. If you want to search different website, this table will help you with search urls of different websites [source] keyword location description g http://www.google.com/search?q=%s Google Web search gs http://www.google.com/search?q=site%3A%s Google site: gl http://www.google.com/search?q=link%3A%s Google link: s http://scholar.google.com/scholar?q=%s Google Scholar img http://images.google.com/images?safe=off&q=%s Google Images search usenet http://groups.google.com/groups?q=%s Google Groups search id http://groups.google.com/groups?selm=%s&output=gplain Google Groups search f http://froogle.google.com/froogle?q=%s&scoring=p Froogle dict http://dictionary.reference.com/search?q=%s Dictionary wiki http://en.wikipedia.org/wiki/Special:Search?search=%s Wikipedia cpan http://search.cpan.org/search?mode=all&query=%s CPAN fm http://freshmeat.net/search/?mode=all&q=%s Freshmeat If you want to make or edit a keyword, open the bookmarks library of firefox, select the bookmark you want to edit, click the ?more? button underneath and add or remove keywords. Or Create a new bookmark, enter the url (either the above one or your own), the name and the keyword and it?s done. Another way of searching any website, (doesn?t matter if it has a search box or not), is to use the search box in firefox: search-term site:example.com Use the above code in the google/yahoo search box and hit enter. I hope this post will help you in searching more quickly and efficiently. Tip: Use short keywords such as g for google. Then you can press Ctrl+L for focussing and highlighting all the text in the address bar, then enter your keyword and search term and press Alt+Enter for opening the search page in a new tab! You might want to check out these related entries: * Search Mininova Like A Power User Tags: Firefox, google, Productivity, tricks

woodtech1
woodtech1

Hello. Right click the navagation toolbar. Select Customize from the drop-down menu. A Customize Toolbar utility opens up. From within that utility select the "search site" item and simply drag to the toolbar.

doctor.montablan
doctor.montablan

You can right click on a search text box, then choose "add a keyword for this search". Then you enter a name for a keyword and the keyword itself. For instance you can give the thechrepublic's search keyword t. If you want to use it all you have to do is type t than space and then what you want to search for in the address bar of firefox and press enter. If we wanted to search for "Sheldon Cooper" in techrepublic.com we would enter "t Sheldon Cooper" in the address bar.

zerg1961
zerg1961

just type in the search you want in the address bar, and click enter. That's all you have to do, I do it this way all the time.

KyleLanser
KyleLanser

To enable searching unique websites from the address bar of firefox, follow these 3 easy steps: Step 1. Find the search url: http://search.techrepublic.com.com/index.php?q=%s Step 2. Use the url for a bookmark, and set a keyword keyword: tr Step 3. Search from the address bar: tr windows 7 tips This is actually quite neat, and can be applies to any search box, provided the bookmarks url includes the %s where the search term goes, and a keyword is set in the bookmark. Another example would be slashdot Location: http://slashdot.org/index2.pl?fhfilter=%s Keyword: sd Search in the address bar: sd terabyte Now that you understand how it works, firefox made it even easier. To automate much of this process, most search boxes when right mouse clicked contain in the popup menu an option "Add a Keyword for this Search...", choosing that option will do everything for you and create the bookmark automatically.

c0rix
c0rix

1st, choose the search provider from the drop down box. 2nd, type your search keyword(s) on the box and then 3rd, press enter. voila! :-p lol

Bill Detwiler
Bill Detwiler

This week's TR Dojo Challenge question is about configuring Firefox to use a Web site's search feature direct from the address bar, without going to the specific site. The Search box on Firefox's Navigation toolbar gives you quick access to several search engines, and is great for search engines. But, what if you want to use the search feature of a Web site that's not a search engine? Luckily, Firefox has a built-in feature that does just this. Using this feature you can configure the browser to use TechRepublic's site search directly from Firefox's address bar. For example, you could search for Windows 7 tips on TechRepublic by simply entering "tr windows 7 tips" into the address bar. So, here's the question: How can you use any Web site's search feature directly from the Firefox address bar? Please Read Before Answering I?ll accept answer submissions for one week after I post the question. During that time, TechRepublic members can submit an answer to the question by posting it within this discussion thread. At the end of the week, I?ll consider the question closed and review the answers. The member who submitted the first, best answer will be featured in a follow-up TR Dojo Challenge article, posted the week following the question?s publication. For being featured on the site, they will also earn themselves a bit of TechRepublic swag-a coffee mug and laptop sticker.

novickas
novickas

from firefox's own documentation on keywords... Smart keywords are an easy way to search specific websites directly from the Firefox Location bar. Instead of going to the targeted website, finding the search function, and executing the search, you can search the website using Firefox, while you are at any website. Keywords in firefox allow us to open or search any website very easily. Let us learn how to use them efficiently. A keywords is like a shortcut to a website. To try this feature, type google apple in the address bar and hit enter. Firefox will take you to a google search of apple. This was a predefined keyword meant to search google. Predefined Keyword include: * google ? Google Search * dict ? Dictionary look up * quote ? Google Search with stocks: operator * wp ? Wikipedia * slang ? Urban (slang) dictionary look up Want to search Wikipedia from the address bar? Just type wp search-term This way you can use all the keywords. Create your own keywords for opening and searching any site: Take for example, you want to set a keyword for Lifehacker.com, go to their site and look for the search box. Then right click in the search area and select Add a keyword for this search. For example, suppose you search The Internet Movie Database (IMDB) on a regular basis. You can define a smart keyword to enable searching IMDB through your browser. To search IMDB for information on William Shatner, you would enter the following in the Firefox Location bar: imdb William Shatner

PrashantMahajan
PrashantMahajan

1. For a specific WebSite only, you can write JavaScript code using "Javascript:" notation and redirect or call any specific URL with the required search parameters. 2. You can put this code as a bookmark with Keyword then. 3. Type-in the keyword in the address bar, which will kick in a "prompt". 4. Type the search criteria in the prompt box and use that string to pass in to the Web-URL.

crojof
crojof

1.- Select a search provider from Firefox's Navigation toolbar drop down box (right upper corner). 2.- By clicking the right mouse button over the drop down box you can select the "show suggestions" while you write, this feature can help you to improve your search. 3.- Hit the Eenter key or make click on the suggested list.