Fix YouTube live chat replays

This commit is contained in:
Jacob Parnell 2023-02-25 15:32:42 -06:00
parent 260fea6fca
commit 31dfbb457f
1 changed files with 2 additions and 2 deletions

View File

@ -159,13 +159,13 @@ function redirect(url, type, initiator, forceRedirection) {
case "piped":
case "pipedMaterial":
case "cloudtube": {
if (url.pathname == "/live_chat") {
if (url.pathname.startsWith("/live_chat")) {
return null;
}
return `${randomInstance}${url.pathname}${url.search}`;
}
case "poketube": {
if (url.pathname == "/live_chat") {
if (url.pathname.startsWith("/live_chat")) {
return null;
}
if (url.pathname.startsWith('/channel')) {