about summary refs log tree commit diff stats
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
parentMerge pull request #133 from unixfox/patch-1 (diff)
parentUpdate background.js (diff)
downloadlibredirect-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 983ede10..0ab7b968 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\.).*)/;