morgan pushed to branch tor-browser-153.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: 53206cf1 by Henry Wilkes at 2026-08-06T16:07:24+00:00 fixup! TB 40701: Add security warning when downloading a file TB 45180: Add the download warning to the settings. - - - - - 1 changed file: - browser/components/preferences/config/downloads.mjs Changes: ===================================== browser/components/preferences/config/downloads.mjs ===================================== @@ -372,6 +372,10 @@ Preferences.addSetting({ id: "applicationsGroup", }); +Preferences.addSetting({ + id: "downloadsTorWarningBanner", +}); + Preferences.addSetting({ id: "applicationsFilter", get(val) { @@ -1846,6 +1850,26 @@ SettingGroupManager.registerGroups({ headingLevel: 2, inProgress: true, items: [ + { + id: "downloadsTorWarningBanner", + l10nId: "downloads-tor-warning-message-bar", + control: "moz-message-bar", + controlAttrs: { + role: "complementary", + type: "warning", + }, + options: [ + { + l10nId: "downloads-tor-warning-tails-link", + slot: "support-link", + control: "a", + controlAttrs: { + href: "https://tails.net/", + target: "_blank", + }, + }, + ], + }, { id: "applicationsFilter", control: "moz-input-search", View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/53206cf1... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/53206cf1... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help