summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorhackademix2019-11-10 13:09:29 +0100
committerhackademix2019-11-15 22:56:15 +0100
commit53bf224e84f89fd2a66afe6461ef09b555751584 (patch)
tree54e69baada231e5613e7f13f061eaade9131c683 /src/lib
parentcbd814754aba6a7e79ab01a851a119504e74a841 (diff)
downloadnoscript-53bf224e84f89fd2a66afe6461ef09b555751584.tar.gz
noscript-53bf224e84f89fd2a66afe6461ef09b555751584.tar.xz
noscript-53bf224e84f89fd2a66afe6461ef09b555751584.zip
Use invalid IP rather than domain name to prevent offline status from breaking sync messaging in Chromium.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/SyncMessage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/SyncMessage.js b/src/lib/SyncMessage.js
index 5880cdb..b622afe 100644
--- a/src/lib/SyncMessage.js
+++ b/src/lib/SyncMessage.js
@@ -1,6 +1,7 @@
"use strict";
(() => {
- let ENDPOINT_PREFIX = `https://sync-messages.invalid/${browser.extension.getURL("")}?`;
+ //let ENDPOINT_PREFIX = `https://sync-messages.invalid/${browser.extension.getURL("")}?`;
+ let ENDPOINT_PREFIX = `https://255.255.255.255/${browser.extension.getURL("")}?`;
let MOZILLA = "mozSystem" in XMLHttpRequest.prototype;
if (browser.webRequest) {