Redirect YouTube Shorts to normal video

Redirects from https://www.youtube.com/shorts/ID to corresponding https://www.youtube.com/watch?v=ID page

Autor
FRex
Dnevne instalacije
0
Ukupnih instalacija
115
Ocjene
0 0 0
Verzija
0.0.2
Stvoreno
12.10.2023.
Ažurirano
13.10.2023.
Size
656 bajtova
Licenza
MIT
Primjenjuje se

A very simple script, just redirect from a YouTube short to normal watch page by replacing /shorts with /watch?v=

Should work both for opening new tab on a short link, and for clicking a short from some other page (AJAX).

Simple and rough. Please report any problems or missing features.