about summary refs log tree commit diff stats
path: root/src/assets/javascripts
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-08-08 09:02:51 +0300
committerManeraKai <manerakai@protonmail.com>2023-08-08 09:02:51 +0300
commit72abcc5cfd052dbe842adc3e11ccce5046134972 (patch)
tree1d4ced9bb3c67f52d68e4582583f73d001d3cd8c /src/assets/javascripts
parentMerge branch 'master' of https://github.com/libredirect/browser_extension (diff)
downloadlibredirect-72abcc5cfd052dbe842adc3e11ccce5046134972.zip
Fixed AnonymousOverflow not redirecting q/ https://github.com/libredirect/browser_extension/issues/796
Diffstat (limited to 'src/assets/javascripts')
-rw-r--r--src/assets/javascripts/services.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 2e166d6f..e0b9cf3e 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -443,7 +443,6 @@ function redirect(url, type, initiator, forceRedirection) {
 			return `${randomInstance}${url.pathname}${url.search}`
 		}
 		case "anonymousOverflow": {
-			if (!url.pathname.startsWith('/questions') && url.pathname != '/') return randomInstance
 			if (url.hostname == "stackoverflow.com") {
 				const threadID = /\/(\d+)\/?$/.exec(url.pathname)
 				if (threadID) return `${randomInstance}/questions/${threadID[1]}${url.search}`