From c228745a15379c175aee5a608d9167ecedfc4fa6 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 20 Jul 2023 23:01:02 +0200 Subject: [PATCH] MB 214: Enable cross-tab identity leak protection in "quiet" mode --- toolkit/components/securitylevel/SecurityLevel.jsm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/toolkit/components/securitylevel/SecurityLevel.jsm b/toolkit/components/securitylevel/SecurityLevel.jsm index 6ebbd456da9e5..25393c14f6317 100644 --- a/toolkit/components/securitylevel/SecurityLevel.jsm +++ b/toolkit/components/securitylevel/SecurityLevel.jsm @@ -162,13 +162,16 @@ let noscriptSettings = safetyLevel => ({ autoAllowTop: false, }, sync: { - TabGuardMode: "off", // we want to turn it off in PB until tor-browser#41112 + // Apply cross-tab identity leak protection to PBM windows + TabGuardMode: "incognito", + // Prompt only on problematic POST requests + TabGuardPrompt: "post", }, // host-specific metadata settingsHost: { // help NoScript cooperate by versioning these settings id: "mullvad", - version: 1, + version: 2, }, isTorBrowser: true, tabId: -1,