about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-03-30 21:28:59 +0300
committerManeraKai <manerakai@protonmail.com>2022-03-30 21:28:59 +0300
commita337301fb0119fc0f6f40976106b20849e2793aa (patch)
tree0d5d8188ecc999b50def417110658f4898efb033 /src
parentMerge branch 'master' of https://github.com/libredirect/libredirect (diff)
downloadlibredirect-a337301fb0119fc0f6f40976106b20849e2793aa.zip
Added exceptions to medium #137
Diffstat (limited to 'src')
-rw-r--r--src/assets/javascripts/helpers/medium.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assets/javascripts/helpers/medium.js b/src/assets/javascripts/helpers/medium.js
index dc044505..53dd9555 100644
--- a/src/assets/javascripts/helpers/medium.js
+++ b/src/assets/javascripts/helpers/medium.js
@@ -118,6 +118,7 @@ function redirect(url, type, initiator) {
 
   if (disable) return;
   if (url.pathname == "/") return;
+  if (url.pathname.startsWith("/tag") || url.pathname.startsWith("/@")) return;
 
   if (type != "main_frame" && "sub_frame" && "xmlhttprequest" && "other") return null;