This commit is contained in:
ManeraKai 2023-08-08 09:02:51 +03:00
parent 0465d76ea9
commit 72abcc5cfd
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 0 additions and 1 deletions

View File

@ -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}`