Commit f7853022 authored by henry's avatar henry Committed by morgan
Browse files

TB 45211: Add extra Tor Browser UI for protections from third-party applications.

parent 6cc91e3f
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -10,6 +10,10 @@ Preferences.addAll([
  { id: "privacy.exposeContentTitleInWindow.pbm", type: "bool" },
]);

Preferences.addSetting({
  id: "protectionsTailsBanner",
});

Preferences.addSetting({
  id: "exposeContentWindowTitle",
  pref: "privacy.exposeContentTitleInWindow",
@@ -56,6 +60,30 @@ SettingGroupManager.registerGroups({
    heaidngLevel: 2,
    // TODO: supportPage: "tor-manual:",
    items: [
      {
        id: "protectionsTailsBanner",
        control: "moz-message-bar",
        controlAttrs: {
          role: "complementary",
        },
        options: [
          {
            l10nId: "protections-from-applications-tails-banner",
            control: "span",
            slot: "message",
            options: [
              {
                control: "a",
                controlAttrs: {
                  "data-l10n-name": "tails-link",
                  href: "https://tails.net/",
                  target: "_blank",
                },
              },
            ],
          },
        ],
      },
      {
        id: "genericWindowTitles",
        l10nId: "generic-window-titles-checkbox",