Complete remake & Added redirect

This commit is contained in:
Patrick Schwarzer 2025-05-13 23:44:14 +02:00
parent ad69d761ad
commit e0a1d57ad9
3 changed files with 44 additions and 36 deletions

7
Redirect.js Normal file
View file

@ -0,0 +1,7 @@
if (location.pathname.startsWith("/shorts/")) {
const videoID = location.pathname.split("/")[2];
if (videoID) {
location.replace("https://www.youtube.com/watch?v=${videoID}");
}
}