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
Instalações hoje
0
Total de instalações
102
Avaliações
0 0 0
Versão
0.0.2
Criado
12/10/2023
Atualizado
13/10/2023
Licença
MIT
Aplicável a

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.