summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhackademix2019-12-25 23:09:56 +0100
committerhackademix2019-12-25 23:09:56 +0100
commite2f7de8fea002f15c7cc66ea0d3b565919ec4de3 (patch)
tree1a949668ac20d81e8aca3281a78bdbcc06a845a9 /src/common
parent98aff587716024deff8ba5a6de6247ac44063611 (diff)
downloadnoscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.tar.gz
noscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.tar.xz
noscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.zip
Added "ping" (beacon/ping) capability control.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Policy.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Policy.js b/src/common/Policy.js
index e7818d9..4720532 100644
--- a/src/common/Policy.js
+++ b/src/common/Policy.js
@@ -274,7 +274,7 @@ var {Permissions, Policy, Sites} = (() => {
}
- Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "other"];
+ Permissions.ALL = ["script", "object", "media", "frame", "font", "webgl", "fetch", "ping", "other"];
Permissions.IMMUTABLE = {
UNTRUSTED: {
"script": false,
@@ -282,6 +282,7 @@ var {Permissions, Policy, Sites} = (() => {
"webgl": false,
"fetch": false,
"other": false,
+ "ping": false,
},
TRUSTED: {
"script": true,