From 23f2978b8a41649c93f8b46c0f967f8b226928a4 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Wed, 19 Jun 2019 19:11:36 +0200 Subject: Don't use child-src It generates an error in the browser console and it's rather annoying. There is still one error being generated, but it's unclear from where it comes from. Not yet tested in Basilisk. --- js/vapi-background.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/vapi-background.js') diff --git a/js/vapi-background.js b/js/vapi-background.js index 3753b0b..f861338 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -2111,7 +2111,10 @@ // eMatrix: as of Pale Moon 28 it seems child-src is // available and depracated(?) if (ηMatrix.cspNoWorker === undefined) { - ηMatrix.cspNoWorker = "child-src 'none'; " + // ηMatrix.cspNoWorker = "child-src 'none'; " + // +"frame-src data: blob: *; " + // +"report-uri about:blank"; + ηMatrix.cspNoWorker = "worker-src 'none'; " +"frame-src data: blob: *; " +"report-uri about:blank"; } -- cgit v1.2.3