diff options
author | hackademix | 2019-03-15 23:55:18 +0100 |
---|---|---|
committer | hackademix | 2019-03-15 23:55:50 +0100 |
commit | 921a7910f078ebdb963c047fd6a1b5a6d0231c31 (patch) | |
tree | 9fe330b14f60becd800670c55419b82c15a1c80f /src/ui | |
parent | c3c3a6a76921594d130d1cd638c5111cea820145 (diff) | |
download | noscript-921a7910f078ebdb963c047fd6a1b5a6d0231c31.tar.gz noscript-921a7910f078ebdb963c047fd6a1b5a6d0231c31.tar.xz noscript-921a7910f078ebdb963c047fd6a1b5a6d0231c31.zip |
"General/Cascade top document's restrictions to subdocuments" option (default true on the Tor Browser).
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/options.html | 4 | ||||
-rw-r--r-- | src/ui/options.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/options.html b/src/ui/options.html index a80dece..9ffaa69 100644 --- a/src/ui/options.html +++ b/src/ui/options.html @@ -44,7 +44,9 @@ <span id="auto-opt"> <input type="checkbox" class="enforcement_required" id="opt-auto"><label for="opt-auto" id="lbl-auto">__MSG_AutoAllowTopLevel__</label> </span> - + <span id="cascadeRestrictions-opt"> + <input type="checkbox" class="enforcement_required" id="opt-cascadeRestrictions"><label for="opt-cascadeRestrictions" id="lbl-cascadeRestrictions">__MSG_CascadeRestrictions__</label> + </span> </div> <fieldset class="enforcement_required"> diff --git a/src/ui/options.js b/src/ui/options.js index 7a9ca2b..1932269 100644 --- a/src/ui/options.js +++ b/src/ui/options.js @@ -32,6 +32,8 @@ return policy.autoAllowTop; }); + opt("cascadeRestrictions"); + opt("xss"); opt("xssScanRequestBody"); opt("xssBlockUnscannedPOST"); |