From acf04b61c36776622e7544985baea592a63e0ca5 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 8 Jan 2023 13:31:18 +0300 Subject: Fixed /new not redirecting in reddit + removed simpleertube completely --- src/assets/javascripts/services.js | 2 -- src/config.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 0b4e495a..9e3570d0 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -412,8 +412,6 @@ function redirect(url, type, initiator, forceRedirection, tabId) { else return `${randomInstance}${url.pathname}${url.search}&teddit_proxy=${url.hostname}` } return `${randomInstance}${url.pathname}${url.search}` - case "simpleertube": - return `${randomInstance}/${url.hostname}${url.pathname}${url.search}` default: return `${randomInstance}${url.pathname}${url.search} ` } diff --git a/src/config.json b/src/config.json index abbe668d..ca279a8e 100644 --- a/src/config.json +++ b/src/config.json @@ -193,7 +193,7 @@ } }, "targets": [ - "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/?$)", + "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)", "^https?:\\/{2}(i|(external-)?preview)\\.redd\\.it" ], "name": "Reddit", -- cgit 1.4.1