about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pages/background/background.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pages/background/background.js b/src/pages/background/background.js
index 87bc8dda..92502dc2 100644
--- a/src/pages/background/background.js
+++ b/src/pages/background/background.js
@@ -482,6 +482,12 @@ function redirectReddit(url, initiator, type) {
     } else {
       return null;
     }
+  } else if (url.host === "redd.it") {
+    if (redditInstance.includes("teddit")) {
+      // As of 2021-04-22, redirects for teddit on redd.it links don't work:
+      // they take you to the home page.
+      return null;
+    }
   }
   return `${redditInstance}${url.pathname}${url.search}`;
 }