From bec5b37164f8de191fd6657c6b73f875dbca7c4a Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Fri, 14 Oct 2022 21:18:11 -0400 Subject: [PATCH] fixed bug --- eatmyytshorts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eatmyytshorts.js b/eatmyytshorts.js index 44508c7..d11668a 100644 --- a/eatmyytshorts.js +++ b/eatmyytshorts.js @@ -5,7 +5,7 @@ function initContentScript() { if (url[1] == 'shorts' ) { // if the video is a short console.log('EatMyYTShorts: Fixing video...') vidID = url[2] //the unique video id - location.assign(`https://youtube.com/watch?v=${vidID}`) + location.replace(`https://youtube.com/watch?v=${vidID}`) } }