aboutsummaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
Diffstat (limited to 'background')
-rw-r--r--background/policy_injector.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/background/policy_injector.js b/background/policy_injector.js
index 947812e..702f879 100644
--- a/background/policy_injector.js
+++ b/background/policy_injector.js
@@ -33,7 +33,6 @@ const report_only = "content-security-policy-report-only";
function headers_inject(details)
{
- console.log("ijnector details", details);
const url = details.url;
if (is_privileged_url(url))
return;
@@ -70,7 +69,7 @@ function headers_inject(details)
headers.push(hachette_header);
}
- orig_csp_headers ||=
+ orig_csp_headers = orig_csp_headers ||
headers.filter(h => csp_header_names.has(h.name.toLowerCase()));
headers = headers.filter(h => !csp_header_names.has(h.name.toLowerCase()));