summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin Huang <im@austinhuang.me>2020-11-29 15:42:38 -0500
committerGitHub <noreply@github.com>2020-11-29 15:42:38 -0500
commit5522efc2ab6d919d577830c50fc6ec15f36d5d80 (patch)
treed204deedf5e29bde6b90ccf13678f476c5b9dae7
parent4bf5f20ad476d2f79ec5a23a9477f8719cc0b49a (diff)
downloadprivacy-redirect-5522efc2ab6d919d577830c50fc6ec15f36d5d80.tar.gz
privacy-redirect-5522efc2ab6d919d577830c50fc6ec15f36d5d80.tar.bz2
privacy-redirect-5522efc2ab6d919d577830c50fc6ec15f36d5d80.zip
Update background.js
-rw-r--r--background.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/background.js b/background.js
index 1e23622..1360284 100644
--- a/background.js
+++ b/background.js
@@ -109,8 +109,10 @@ const redditDomains = [
];
const redditBypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;
const oldRedditViews = [
+ "https://teddit.net", // privacy
+ "https://snew.notabug.io", // anti-censorship
"https://old.reddit.com", // desktop
- "https://i.reddit.com", // mobile
+ "https://i.reddit.com" // mobile
];
const oldRedditDefaultView = oldRedditViews[0];
const googleMapsRegex = /https?:\/\/(((www|maps)\.)?(google\.).*(\/maps)|maps\.(google\.).*)/;