From 9917db4f732ddb8681ab19e50cbcefabfd98e88a 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/toolkit/components/securitylevel/SecurityLevel.jsm b/toolkit/components/securitylevel/SecurityLevel.jsm index 79f5f2742dd99..25393c14f6317 100644 --- a/toolkit/components/securitylevel/SecurityLevel.jsm +++ b/toolkit/components/securitylevel/SecurityLevel.jsm @@ -161,6 +161,18 @@ let noscriptSettings = safetyLevel => ({ enforced: true, autoAllowTop: false, }, + sync: { + // 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: 2, + }, isTorBrowser: true, tabId: -1, });