Browser.urlbar.default.behavior: Difference between revisions
(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
- Nothing (browser.urlbar.autocomplete.enabled=false; browser.urlbar.default.behavior unchanged)
- History and Bookmarks (0)
- History (1)
- Bookmarks (2)
Other match and restrict bits that are set remain unaffected.
SeaMonkey
Edit -> Preferences -> Browser -> Location Bar
First checked in
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
- Bug 463459 - Use a separate pref instead of empty restrict/match values to specify defaults
- Bug 463483 - matchOnlyTyped no longer honored with special filters
- Bug 472943 - Two confusable preferences, "browser.urlbar.search.sources" and "browser.urlbar.default.behavior", should be unified
- Bug 468326 - Add UI prefs for new places history functionality (SeaMonkey)
- Bug 470031 - use new browser.urlbar.default.behavior pref for restricting places searches (SeaMonkey)
Related preferences
See also
- Firefox 3.5 Location Bar Privacy - edilee
- Firefox 3.5 Location Bar Preferences - edilee
- Firefox 3.5 Restricts, Matches, Keywords - edilee
[[Category:Preferences]] [[Category:Location Bar]]