This commit is contained in:
ManeraKai 2022-12-27 18:01:24 +03:00
parent 9ad0edf181
commit a5854a388f

View File

@ -169,7 +169,7 @@ function redirect(url, type, initiator, forceRedirection) {
if (url.pathname.split("/").includes("tweets")) return `${randomInstance}${url.pathname.replace("/tweets", "")}${search}` if (url.pathname.split("/").includes("tweets")) return `${randomInstance}${url.pathname.replace("/tweets", "")}${search}`
if (url.host == "t.co") return `${randomInstance}/t.co${url.pathname}` if (url.host == "t.co") return `${randomInstance}/t.co${url.pathname}`
return `${randomInstance}${url.pathname}${search}` return `${randomInstance}${url.pathname}${search}#m`
case "yattee": case "yattee":
return url.href.replace(/^https?:\/{2}/, "yattee://") return url.href.replace(/^https?:\/{2}/, "yattee://")
case "freetube": case "freetube":