Location Bar search: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Reorganization & edits. Maybe this article should just be folded into keyword.URL.)
Line 1: Line 1:
[[Category:Searches (Firefox)]]
When you type a keyword into the [[Location Bar]], Firefox takes you to the top Google result for that search by default. However, by modifying the [[About:config|about:config]] entry [[keyword.URL]], you can change this behaviour. Here are a few example values:
By default when you type a keyword into the [[Location Bar]] Firefox takes you to the top Google result for that search. However, by modifying the [[About:config|about:config]] entry '''keyword.URL''' you can change this behaviour.
 
===Location Bar keyword URLs===
{| rules="all" cellpadding="5" border="1" width="60%"
|-
| '''''Service'''''
| '''''keyword.URL'''''
|-
|-
| Google's "I'm Feeling Lucky" (default)
| http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
|-
| Google "Browse by Name" (Automatically takes you to sites with a clear match, else performs a Google search)
| http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
|-
| Google Search (Google search results page)
| http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=
|}


==Advanced search tips and tricks==
;http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
===Google===
:Google's "I'm Feeling Lucky" (default)
There is a way to turn Safesearch off in Google without setting preference cookies. Simply go to the Firefox [[installation directory]] (not the [[profile folder]]), open up the "searchplugins" directory, and then
;http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
open up the "Google.src" file and add '''<input name="safe" value="off">''' between '''<input name="oe" value="utf-8">''' and
:Google "Browse by Name" (Automatically takes you to sites with a clear match, else performs a Google search)
'''<interpret browserResultType="result">'''. Then save the file and restart Firefox.
;http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=
:Google Search (Google search results page)


===Yahoo===
For more advanced search capabilities, you may want to look into [[Using keyword searches|keyword searches]] and the [[Search Bar]].
To turn off filtering for Yahoo, go to the Firefox [[installation directory]] and open the "searchplugins" directory. 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 ==
==See also==
* [[keyword.URL]]
* [[Using keyword searches]]
* [[Using keyword searches]]
* [[List of keyword searches]]
* [[Search Bar]]
* [[Multiple parameter keyword searches]]


==External links==
==External links==
* [http://www.squarefree.com/2004/09/09/googles-browse-by-name-in-firefox/ Google’s “Browse By Name” in Firefox]
* [http://www.squarefree.com/2004/09/09/googles-browse-by-name-in-firefox/ Google’s “Browse By Name” in Firefox]
* [http://toolbar.google.com/bbn_help.html Google's "Browse By Name" feature for the Internet Explorer Google Toolbar]
* [http://www.mozilla.org/docs/end-user/internet-keywords.html Internet Keywords]
 
[[Category:Searches (Firefox)]]

Revision as of 02:08, 28 November 2005

When you type a keyword into the Location Bar, Firefox takes you to the top Google result for that search by default. However, by modifying the about:config entry keyword.URL, you can change this behaviour. Here are a few example values:

http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
Google's "I'm Feeling Lucky" (default)
http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
Google "Browse by Name" (Automatically takes you to sites with a clear match, else performs a Google search)
http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=
Google Search (Google search results page)

For more advanced search capabilities, you may want to look into keyword searches and the Search Bar.

See also

External links