[tbb-commits] [torbutton/master] Bug 40030: Add 'noscript' capability to NoScript
gk at torproject.org
gk at torproject.org
Thu Feb 25 12:24:03 UTC 2021
commit c05af387ef3487f14a58b27214cf9ede57363c0e
Author: HackerNCoder <hackerncoder at protonmail.ch>
Date: Wed Feb 24 22:45:31 2021 +0000
Bug 40030: Add 'noscript' capability to NoScript
---
modules/noscript-control.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/noscript-control.js b/modules/noscript-control.js
index 3cd5f602..ea735377 100644
--- a/modules/noscript-control.js
+++ b/modules/noscript-control.js
@@ -68,20 +68,20 @@ let log = (level, msg) => logger.log(level, msg);
// ## NoScript settings
// Minimum and maximum capability states as controlled by NoScript.
-const max_caps = ["fetch", "font", "frame", "media", "object", "other", "script", "webgl"];
-const min_caps = ["frame", "other"];
+const max_caps = ["fetch", "font", "frame", "media", "object", "other", "script", "webgl", "noscript"];
+const min_caps = ["frame", "other", "noscript"];
// Untrusted capabilities for [Standard, Safer, Safest] safety levels.
const untrusted_caps = [
max_caps, // standard safety: neither http nor https
- ["frame", "font", "object", "other"], // safer: http
+ ["frame", "font", "object", "other", "noscript"], // safer: http
min_caps, // safest: neither http nor https
];
// Default capabilities for [Standard, Safer, Safest] safety levels.
const default_caps = [
max_caps, // standard: both http and https
- ["fetch", "font", "frame", "object", "other", "script"], // safer: https only
+ ["fetch", "font", "frame", "object", "other", "script", "noscript"], // safer: https only
min_caps, // safest: both http and https
];
More information about the tbb-commits
mailing list