From e44fce3ebd6c348b9e09304d8b79e90f3867bd60 Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 12 Oct 2018 22:35:46 +0200 Subject: Set tab restrictions status across all frames. --- src/bg/RequestGuard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bg') diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js index 8850542..436d043 100644 --- a/src/bg/RequestGuard.js +++ b/src/bg/RequestGuard.js @@ -318,7 +318,7 @@ var RequestGuard = (() => { } capabilities = perms.capabilities; } else { - if (!isMainFrame && type === "sub_frame") { + if (isMainFrame || type === "sub_frame") { await Settings.enforceTabRestrictions(tabId); } } -- cgit v1.2.3