morgan pushed to branch tor-browser-153.0esr-16.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
09b63226
by Henry Wilkes at 2026-08-04T11:52:11+00:00
-
f1546785
by Henry Wilkes at 2026-08-04T11:52:11+00:00
2 changed files:
- browser/components/preferences/config/search.mjs
- toolkit/locales/en-US/toolkit/global/base-browser.ftl
Changes:
| ... | ... | @@ -271,6 +271,11 @@ Preferences.addSetting({ |
| 271 | 271 | pref: "browser.urlbar.trending.featureGate",
|
| 272 | 272 | });
|
| 273 | 273 | |
| 274 | +// Add a warning banner. tor-browser#44629.
|
|
| 275 | +Preferences.addSetting({
|
|
| 276 | + id: "searchSuggestionsWarningBanner",
|
|
| 277 | +});
|
|
| 278 | + |
|
| 274 | 279 | // The show search suggestion box behaves differently depending on whether the
|
| 275 | 280 | // separate search bar is shown. When the separate search bar is shown, it
|
| 276 | 281 | // controls just the search suggestion preference, and the
|
| ... | ... | @@ -1147,6 +1152,16 @@ SettingGroupManager.registerGroups({ |
| 1147 | 1152 | l10nId: "search-suggestions-header-2",
|
| 1148 | 1153 | headingLevel: 2,
|
| 1149 | 1154 | items: [
|
| 1155 | + // Add a warning banner. tor-browser#44629.
|
|
| 1156 | + {
|
|
| 1157 | + id: "searchSuggestionsWarningBanner",
|
|
| 1158 | + l10nId: "search-suggestions-warning-banner",
|
|
| 1159 | + control: "moz-message-bar",
|
|
| 1160 | + controlAttrs: {
|
|
| 1161 | + role: "status",
|
|
| 1162 | + type: "warning",
|
|
| 1163 | + },
|
|
| 1164 | + },
|
|
| 1150 | 1165 | {
|
| 1151 | 1166 | id: "suggestionsInSearchFieldsCheckbox",
|
| 1152 | 1167 | l10nId: "search-show-suggestions-option",
|
| ... | ... | @@ -110,6 +110,11 @@ browser-layout-show-sidebar-limited = |
| 110 | 110 | .label = Show sidebar
|
| 111 | 111 | .description = Quickly access bookmarks and more without leaving your main view.
|
| 112 | 112 | |
| 113 | +## Preferences - Search suggestions.
|
|
| 114 | + |
|
| 115 | +search-suggestions-warning-banner =
|
|
| 116 | + .message = Turning this on reduces your privacy by sharing your queries with the search engine as you type.
|
|
| 117 | + |
|
| 113 | 118 | ## Preferences - Contrast Control.
|
| 114 | 119 | |
| 115 | 120 | preferences-contrast-control-fixed-color2 =
|