diff options
| author | Austin Huang <im@austinhuang.me> | 2020-10-23 19:34:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-23 19:34:53 -0400 |
| commit | 9b0f86ce91c99a62205d73d9ff675beae6545383 (patch) | |
| tree | 0cfe538671c42ae7f6b28dcb1e917a550d047894 /background.js | |
| parent | 7f9e80abb2d7a57b559a6a5b4bca3afa7057c6eb (diff) | |
| download | privacy-redirect-9b0f86ce91c99a62205d73d9ff675beae6545383.tar.gz privacy-redirect-9b0f86ce91c99a62205d73d9ff675beae6545383.tar.bz2 privacy-redirect-9b0f86ce91c99a62205d73d9ff675beae6545383.zip | |
Update background.js
Diffstat (limited to 'background.js')
| -rw-r--r-- | background.js | 2 |
1 files changed, 1 insertions, 1 deletions
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}`; } |
