Preferences¶
This document describes Preferences affecting the Firefox’s address bar. Preferences that are generated and updated by code won’t be described here.
User Exposed¶
These preferences are exposed through the Firefox UI.
- browser.urlbar.shortcuts.bookmarks (boolean, default: true)
Whether to show the bookmark search shortcut button in the view. Can be controlled from Search Preferences.
- browser.urlbar.shortcuts.tabs (boolean, default: true)
Whether to show the tabs search shortcut button in the view. Can be controlled from Search Preferences.
- browser.urlbar.shortcuts.history (boolean, default: true)
Whether to show the history search shortcut button in the view. Can be controlled from Search Preferences.
- browser.urlbar.showSearchSuggestionsFirst (boolean, default: true)
Whether to show search suggestions before general results. Can be controlled from Search Preferences.
- browser.urlbar.suggest.bookmark (boolean, default: true)
Whether results will include the user’s bookmarks. Can be controlled from Privacy Preferences.
- browser.urlbar.suggest.history (boolean, default: true)
Whether results will include the user’s history. Can be controlled from Privacy Preferences.
- browser.urlbar.suggest.openpage (boolean, default: true)
Whether results will include switch-to-tab results. Can be controlled from Privacy Preferences.
- browser.urlbar.suggest.searches (boolean, default: true)
Whether results will include search suggestions. Can be controlled from Search Preferences.
- browser.urlbar.suggest.engines (boolean, default: true)
Whether results will include search engines (e.g. tab-to-search). Can be controlled from Privacy Preferences.
- browser.urlbar.suggest.topsites (boolean, default: true)
Whether results will include top sites and the view will open on focus. Can be controlled from Privacy Preferences.
- browser.search.suggest.enabled (boolean, default: true)
Whether search suggestions are enabled globally, including the separate search bar. Can be controlled from Search Preferences.
- browser.search.suggest.enabled.private (boolean, default: false)
When search suggestions are enabled, controls whether they are provided in Private Browsing windows. Can be controlled from Search Preferences.
Experimental¶
These preferences are experimental and not officially supported. They could be removed at any time.
- browser.urlbar.suggest.calculator (boolean, default: false)
Whether results will include a calculator.
- browser.urlbar.unitConversion.enabled (boolean, default: false)
Whether unit conversion is enabled.
- browser.urlbar.unitConversion.suggestedIndex (integer, default: 1)
The index where we show unit conversion results.
- browser.urlbar.experimental.expandTextOnFocus (boolean, default: false)
Whether we expand the font size when the urlbar is focused.
- browser.urlbar.experimental.searchButton (boolean, default: false)
Whether to displays a permanent search button before the urlbar.
- browser.urlbar.keepPanelOpenDuringImeComposition (boolean, default: false)
Whether the results panel should be kept open during IME composition. The panel may overlap with the IME compositor panel.
- browser.urlbar.restyleSearches (boolean, default: false)
When true, URLs in the user’s history that look like search result pages are restyled to look like search engine results instead of history results.
- browser.urlbar.update2.emptySearchBehavior (integer, default: 0)
Controls the empty search behavior in Search Mode: 0. Show nothing, 1. Show search history, 2. Show search and browsing history
Deprecated¶
These preferences should not be used and may be removed at any time.
- browser.urlbar.autoFill.searchEngines (boolean, default: false)
If true, the domains of the user’s installed search engines will be autofilled even if the user hasn’t actually visited them.
- browser.urlbar.usepreloadedtopurls.enabled (boolean, default: false)
Results will include a built-in set of popular domains when this is true.
- browser.urlbar.usepreloadedtopurls.expire_days (integer, default: 14)
After this many days from the profile creation date, the built-in set of popular domains will no longer be included in the results.