From 9b0f86ce91c99a62205d73d9ff675beae6545383 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Fri, 23 Oct 2020 19:34:53 -0400 Subject: [PATCH] Update background.js --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 3f5145c..e1405ac 100644 --- a/background.js +++ b/background.js @@ -307,7 +307,7 @@ function redirectYouTube(url, initiator, type) { url.searchParams.append("autoplay", invidiousAutoplay ? 1 : 0); return `${invidiousInstance || getRandomInstance(invidiousInstances)}${ - url.pathname + url.pathname.replace("/shorts","") }${url.search}`; }