summaryrefslogtreecommitdiff
path: root/background/main.js
diff options
context:
space:
mode:
authorWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-06-18 11:45:01 +0200
committerWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-06-18 11:45:01 +0200
commit7ee7889ae8f1473474254553ec3b3469fb0a935b (patch)
tree153fe596bc65600e21d856f97231f8195f79b9ec /background/main.js
parent6bae771df7b238f8ef4e992660e911fb5808299c (diff)
downloadbrowser-extension-7ee7889ae8f1473474254553ec3b3469fb0a935b.tar.gz
browser-extension-7ee7889ae8f1473474254553ec3b3469fb0a935b.zip
when possible inject CSP as http(s) header using webRequest instead of adding a <meta> tag
Diffstat (limited to 'background/main.js')
-rw-r--r--background/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/background/main.js b/background/main.js
index 4af7aa0..2f35321 100644
--- a/background/main.js
+++ b/background/main.js
@@ -30,12 +30,12 @@
const get_storage = window.get_storage;
const start_storage_server = window.start_storage_server;
const start_page_actions_server = window.start_page_actions_server;
- const start_policy_smuggler = window.start_policy_smuggler;
+ const start_policy_injector = window.start_policy_injector;
const browser = window.browser;
start_storage_server();
start_page_actions_server();
- start_policy_smuggler();
+ start_policy_injector();
async function init_myext(install_details)
{