summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap.js b/bootstrap.js
index 8ab0c02..07ed02a 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -201,7 +201,9 @@ var httpObserver = {
try {
let csp = subject.getResponseHeader("Content-Security-Policy");
if (gitlab.test(subject.URI.host)) {
- csp = csp.replace(/script-src /g, "script-src " + hashCElements + " ");
+ if (subject.URI.host != "0xacab.org") {
+ csp = csp.replace(/script-src /g, "script-src " + hashCElements + " ");
+ }
} else {
csp = csp.replace(/script-src /g, "script-src " + hashBase + " ");
if (isSeaMonkey) {