Browser.urlbar.default.behavior: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(needs review for SeaMonkey and maybe Firefox as well - no Category set ATM)
(No difference)

Revision as of 02:44, 21 September 2009

Background

The pref browser.urlbar.matchOnlyTyped is no longer supported in Firefox 3.5 and SeaMonkey 2 and has been replaced by browser.urlbar.default.behavior.
This pref makes it possible to customize the search behavior of the location bar.
The decimal value of this preference should be seen as a bitmap of 6 bits. If a bit in that bitmap is 1 then the corresponding filter will be applied.
There are restrict filters (0:History, 1:Bookmarks, 2:Tags, 5:Typed) and match filters (3:Title, 4:URL).
Quote from "defaults\prefs\firefox.js": The default behavior for the urlbar can be configured to use any combination of the restrict or match filters with each additional filter restricting.

Possible values and their effects

Add up the following values to set the behavior as the default (i.e 17=History+match URL; 49=History+match URL+Typed):

1

Restrict: History

2

Restrict: Bookmarks

4

Restrict: Tags

8

Match: Title

16

Match: URL

32

Restrict: Typed

UI

Firefox

Tools -> Options -> Privacy -> Location Bar

Other match and restrict bits that are set remain unaffected.

SeaMonkey

Edit -> Preferences -> Browser -> Location Bar

First checked in

  • Dec 10 10:58:43 2008 by Edward Lee [1]
  • Jan 10 22:22:16 2009 by Robert Kaiser [2]

Has an effect in

  • Firefox 3.5 (nightly builds since 2008-12-17)
    • The value 32 only works in builds since 2009-01-07
  • SeaMonkey 2 (nightly builds since 2009-01-10)

Related bugs

Related preferences

See also

[[Category:Preferences]] [[Category:Location Bar]]