From 0466b3b1bf1b715eff817f1715a36a8f198fdd97 Mon Sep 17 00:00:00 2001 From: kunpw <68560175+kunpw@users.noreply.github.com> Date: Sat, 21 Nov 2020 11:25:46 +0800 Subject: [PATCH] Apply javascript control to iframes --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index e9b5cd1..37c9d6a 100644 --- a/background.js +++ b/background.js @@ -27,7 +27,7 @@ function add_csp_nojs_header(response) { browser.webRequest.onHeadersReceived.addListener( add_csp_nojs_header, {urls: [""], - types: ["main_frame"]}, + types: ["main_frame","sub_frame"]}, ["blocking", "responseHeaders"] )