aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-background.js
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-06-19 19:11:36 +0200
committerAlessio Vanni <vannilla@firemail.cc>2019-06-19 19:11:36 +0200
commit23f2978b8a41649c93f8b46c0f967f8b226928a4 (patch)
tree37dd01cb548522f466bf34880c5c31ab4a7bce10 /js/vapi-background.js
parent52603bc5bc8831d0ec0f901f1279871599f877d9 (diff)
downloadematrix-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.js5
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";
}