Search Bar: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Installing search plugins: removed "en-US/" from URL to allow language to be auto-detected)
(added images, separate sections on Managing search engines, Storage of search engines. Removed Firefox 1.5 instructions)
Line 1: Line 1:
{{appliesto|Firefox|Searches}}
{{appliesto|Firefox|Searches}}
Firefox's '''Search Bar''' is a convenient way to search using your favorite search engines. The default is [http://google.com Google].
[[Image:SearchBar.png|right]]
 
 
The Firefox '''Search Bar''' is a convenient way to search using your favorite search engines. Firefox comes with a set of pre-installed or "default" search engines which are available to all user profiles. 
 
The default search engine is [http://google.com Google].   Other available search engines are accessible from the Search Bar drop-down menu.


==Using the Search Bar==
==Using the Search Bar==
To search, click in the Search Bar (or press "Ctrl+K") and start typing. Press the "Enter" key or, in Firefox 2 and above, use the "search" button  and your search will be run. You can use "Alt+Enter" to open search results in a new tab.
To search, click in the Search Bar (or press "Ctrl+K") and start typing. Press the "Enter" key or, in Firefox 2 and above, use the "search" button  and your search will be run. You can use "Alt+Enter" to open search results in a new tab.
 
The Search Bar supports more than one search engine. To see the list of available engines click the icon at the left of the bar, and a list showing the available search engines will appear. You can also use "Ctrl+Up"/"Ctrl+Down" to cycle between the available choices.
 
==Managing search engines==
[[Image:Fx3ManageSearchEngines.png|right]]


The Search Bar supports more than one search engine. To see the list of available engines click the icon at the left of the bar, and a list showing the available search engines will appear. You can also use "Ctrl+Up"/"Ctrl+Down" to cycle between the available choices.  In Firefox 2 and above you can reorder or remove entries from the search engine list by selecting "Manage Search Engines...".
Starting in Firefox 2, you can reorder or remove entries from the list of search engines in the Search Bar by selecting "Manage Search Engines...",  located at the end of the list of search engines.


==Installing search plugins==
===Installing new search engines===
To add new search engines to the Search Bar:
To add new search engines to the Search Bar, click the search icon, click "Manage Search Engines -> Get more search engines..."  
*'''Firefox 1.5:'''  Click the search icon and then click "Add Engines..."
*'''Firefox 2 and above:'''  Click the search icon, click "Manage Search Engines -> Get more search engines..."  
You will be taken to the [https://addons.mozilla.org/firefox/browse/type:4/cat:all?sort=name  Search Engines page at Mozilla Add-ons] where some of the more popular search plugins can be installed. (A more comprehensive collection of search plugins is available at [http://mycroft.mozdev.org/ mycroft.mozdev.org].)  Click one of the search engine links to install the new search plugin.  If you don't see an "Add Search Engine" dialog box, make sure that [[JavaScript]] is enabled.   
You will be taken to the [https://addons.mozilla.org/firefox/browse/type:4/cat:all?sort=name  Search Engines page at Mozilla Add-ons] where some of the more popular search plugins can be installed. (A more comprehensive collection of search plugins is available at [http://mycroft.mozdev.org/ mycroft.mozdev.org].)  Click one of the search engine links to install the new search plugin.  If you don't see an "Add Search Engine" dialog box, make sure that [[JavaScript]] is enabled.   


You can always [[uninstall search plugins]] you don't want in Firefox 2 or above,  via the "Manage Search Engines" search engine manager.  In Firefox 1.5 you must manually remove the associated files from the "searchplugins" folder.
===Removing search engines===
You can [[uninstall search plugins]] you don't want in Firefox by opening the "Manage Search Engines" search engine manager.  In the list of installed search engines,  simply select the unwanted engine and click the Remove button.


Firefox comes with a set of pre-installed search engines that are present in the [[installation directory]], in the subdirectory "searchplugins", which are available to all user profiles.   In Firefox 1.5 and abovenewly-installed search engines are stored in the "searchplugins" folder located in the [[Profile folder - Firefox|Firefox profile folder]] so you may have search plugin files in both locations.
===Restoring default search engines===
 
Default search engines that come pre-installed in Firefox currently include Google, Yahoo, Amazon.com, Answers.com, Creative Commons, eBay, and in Firefox 3, Wikipedia. If you have removed any of the default search engines. you can restore them either via the "Manage Search Engines "Restore Defaults" button.    This will not remove any added search engines(If the "Restore Defaults" button is disabled or "grayed-out", as shown above, that means that all of the default search engines are still available).   
'''Note''': Search engines are stored  in the "seachplugins" subfolder(s)  as single "*.xml" files (e.g., "google.xml") in Firefox 2 and above or as ''*.src'' and ''*.gif" or "*.png'' pairs of files (e.g., "google.src" and "google.gif") in Firefox 1.5 .


Another way you can restore the default set of search engines is to use the Firefox [[Safe Mode]] option, '''Restore default search engines'''.  This will add back all of the default search engines if some of them are missing.  It  will not remove any added search engines.
==Clearing search history==
==Clearing search history==
You can clear the previous searches from the Search Bar. Just right-click the text area of the Search Bar to open the context menu and select "Clear Search History".  If "Clear Search History" is grayed out then the search history is already empty.
You can clear the previous searches from the Search Bar. Just right-click the text area of the Search Bar to open the context menu and select "Clear Search History".  If "Clear Search History" is grayed out then the search history is already empty.


You can delete individual elements by selecting them and pressing  the "Delete" key (or "Shift+Delete" in Firefox 1.5).  See article,  [[Deleting autocomplete entries]] for more information.   
You can delete individual elements by selecting them and pressing  the "Delete" key.  See article,  [[Deleting autocomplete entries]] for more information.   
   
   
Note that search "Suggestions" are not your search history but are loaded in real-time by querying the Google search engine site based on what you've typed so far in the Search Bar.  If you don't want to see these suggested search terms, the last item in the Search Bar context menu  is "Show Suggestions" and has a checkmark if that option is enabled.  Select it to toggle that option. You can also click the Google icon in the Search Bar to open "Manage Search Engines". You will see a "Show search suggestions" checkbox at the bottom of that window.
Note that search "Suggestions" are not your search history but are loaded in real-time by querying the Google search engine site based on what you've typed so far in the Search Bar.  If you don't want to see these suggested search terms, the last item in the Search Bar context menu  is "Show Suggestions" and has a checkmark if that option is enabled.  Select it to toggle that option. You can also click the Google icon in the Search Bar to open "Manage Search Engines". You will see a "Show search suggestions" checkbox at the bottom of that window.
==Storage of search engines==
Default search engines are stored in the Firefox [[installation directory]]  "searchplugins" folder.  Newly-installed search engines are stored in the [[Profile folder - Firefox|Firefox profile folder]]  "searchplugins" folder, so you can have search engine files in both locations.  Search engines are stored as single "*.xml" files (e.g., "google.xml") in Firefox 2 and above.  Previous to Firefox 2,  search engines were stored as pairs of files (e.g., "google.src" and "google.gif".)   


==Viewing filtered results from search engines==
==Viewing filtered results from search engines==

Revision as of 14:48, 7 January 2009

This article applies to Firefox.


The Firefox Search Bar is a convenient way to search using your favorite search engines. Firefox comes with a set of pre-installed or "default" search engines which are available to all user profiles.

The default search engine is Google. Other available search engines are accessible from the Search Bar drop-down menu.

Using the Search Bar

To search, click in the Search Bar (or press "Ctrl+K") and start typing. Press the "Enter" key or, in Firefox 2 and above, use the "search" button and your search will be run. You can use "Alt+Enter" to open search results in a new tab.

The Search Bar supports more than one search engine. To see the list of available engines click the icon at the left of the bar, and a list showing the available search engines will appear. You can also use "Ctrl+Up"/"Ctrl+Down" to cycle between the available choices.

Managing search engines

Starting in Firefox 2, you can reorder or remove entries from the list of search engines in the Search Bar by selecting "Manage Search Engines...", located at the end of the list of search engines.

Installing new search engines

To add new search engines to the Search Bar, click the search icon, click "Manage Search Engines -> Get more search engines..." You will be taken to the Search Engines page at Mozilla Add-ons where some of the more popular search plugins can be installed. (A more comprehensive collection of search plugins is available at mycroft.mozdev.org.) Click one of the search engine links to install the new search plugin. If you don't see an "Add Search Engine" dialog box, make sure that JavaScript is enabled.

Removing search engines

You can uninstall search plugins you don't want in Firefox by opening the "Manage Search Engines" search engine manager. In the list of installed search engines, simply select the unwanted engine and click the Remove button.

Restoring default search engines

Default search engines that come pre-installed in Firefox currently include Google, Yahoo, Amazon.com, Answers.com, Creative Commons, eBay, and in Firefox 3, Wikipedia. If you have removed any of the default search engines. you can restore them either via the "Manage Search Engines "Restore Defaults" button. This will not remove any added search engines. (If the "Restore Defaults" button is disabled or "grayed-out", as shown above, that means that all of the default search engines are still available).

Another way you can restore the default set of search engines is to use the Firefox Safe Mode option, Restore default search engines. This will add back all of the default search engines if some of them are missing. It will not remove any added search engines.

Clearing search history

You can clear the previous searches from the Search Bar. Just right-click the text area of the Search Bar to open the context menu and select "Clear Search History". If "Clear Search History" is grayed out then the search history is already empty.

You can delete individual elements by selecting them and pressing the "Delete" key. See article, Deleting autocomplete entries for more information.

Note that search "Suggestions" are not your search history but are loaded in real-time by querying the Google search engine site based on what you've typed so far in the Search Bar. If you don't want to see these suggested search terms, the last item in the Search Bar context menu is "Show Suggestions" and has a checkmark if that option is enabled. Select it to toggle that option. You can also click the Google icon in the Search Bar to open "Manage Search Engines". You will see a "Show search suggestions" checkbox at the bottom of that window.

Storage of search engines

Default search engines are stored in the Firefox installation directory "searchplugins" folder. Newly-installed search engines are stored in the Firefox profile folder "searchplugins" folder, so you can have search engine files in both locations. Search engines are stored as single "*.xml" files (e.g., "google.xml") in Firefox 2 and above. Previous to Firefox 2, search engines were stored as pairs of files (e.g., "google.src" and "google.gif".)

Viewing filtered results from search engines

Google

There is a way to turn Safesearch off in the Google search plugin without setting preference cookies. Simply go to the Firefox installation directory, open up the "searchplugins" folder, open the "google.src" file in a text editor like Notepad and add <input name="safe" value="off"> between <input name="oe" value="utf-8"> and <interpret browserResultType="result">. Then save the file and restart Firefox.

Yahoo

To turn off filtering for Yahoo, go to the Firefox installation directory and open the "searchplugins" folder. Then open up the "yahoo.src" file in Notepad or a similar text editor. Add <input name="vm" value="i"> after <input name="ei" value="UTF-8">. Save and restart Firefox.

See also

External links