summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brazell <simon@brazell.com.au>2020-12-03 09:26:06 +1100
committerGitHub <noreply@github.com>2020-12-03 09:26:06 +1100
commit3d45eb3089dd2583f9e8abc635611f5f4a84bd05 (patch)
tree79609e28a258a78d342bf18bc53c90e27e31b674
parent1a3ec47160f09658eb8766723f5535298bb750b6 (diff)
parent5522efc2ab6d919d577830c50fc6ec15f36d5d80 (diff)
downloadprivacy-redirect-3d45eb3089dd2583f9e8abc635611f5f4a84bd05.tar.gz
privacy-redirect-3d45eb3089dd2583f9e8abc635611f5f4a84bd05.tar.bz2
privacy-redirect-3d45eb3089dd2583f9e8abc635611f5f4a84bd05.zip
Merge pull request #138 from austinhuang0131/patch-2
Add Teddit and Snew to reddit redirect options
-rw-r--r--background.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/background.js b/background.js
index 983ede1..0ab7b96 100644
--- a/background.js
+++ b/background.js
@@ -110,8 +110,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\.).*)/;