Keyword.URL

From MozillaZine Knowledge Base
Revision as of 02:01, 26 July 2006 by Unarmed (talk | contribs) (bug 323798)
Jump to navigationJump to search

Background

When entering information in the Location Bar, Mozilla attempts to convert the information into a usable URI. For example, “mozilla.org” is automatically converted to “http://mozilla.org/”. When Mozilla is unable to discern what URL the user wanted, the information that was entered may be submitted to an Internet Keywords service. This preference determines the Internet Keywords service URL.

Possible values and their effects

Any valid URL may be specified. The keyword will be appended to the URL and then the user will be redirected to the new URL. The default value is “http://www.google.com/search?ie=UTF-8&oe=utf-8&q=” in most Mozilla products; in Firefox and Sunbird the default is “http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=”. Recent versions allow this value to be localized.

Caveats

  • This preference only has an effect when keyword.enabled is set to true.
  • When the Internet Keywords behavior is triggered, information will be sent to the specified URL without prompting. This has possible privacy implications, though no more serious than accidentally submitting a search to Google.
  • The default Internet Keywords provider in Firefox—Google’s “I’m Feeling Lucky” search—is the reason why typing a malformed URI such as ”http//www.mozilla.org“ will automatically direct you to Microsoft’s website.
  • Mozilla may also attempt a simpler lookup by concatenating a prefix and suffix on the supplied domain name. This action is controlled by the browser.fixup.alternate.* settings in about:config.

First checked in

1999-11-10 by Judson Valeski

Has an effect in

  • Netscape (all versions since 6 PR 1)
  • Mozilla Suite (all versions since M11)
  • Mozilla Phoenix (all versions)
  • Mozilla Firebird (all versions)
  • Mozilla Firefox (all versions)
  • SeaMonkey (all versions)

Related bugs

Related preferences

See also

External links