diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-06-19 19:11:36 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-06-19 19:11:36 +0200 |
commit | 23f2978b8a41649c93f8b46c0f967f8b226928a4 (patch) | |
tree | 37dd01cb548522f466bf34880c5c31ab4a7bce10 /js/vapi-background.js | |
parent | 52603bc5bc8831d0ec0f901f1279871599f877d9 (diff) | |
download | ematrix-23f2978b8a41649c93f8b46c0f967f8b226928a4.tar.lz ematrix-23f2978b8a41649c93f8b46c0f967f8b226928a4.tar.xz ematrix-23f2978b8a41649c93f8b46c0f967f8b226928a4.zip |
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.
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r-- | js/vapi-background.js | 5 |
1 files changed, 4 insertions, 1 deletions
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"; } |