Redirect YouTube Shorts to normal video

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

ავტორი
FRex
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
98
რეიტინგი
0 0 0
ვერსია
0.0.2
შექმნილია
12.10.2023
განახლებულია
13.10.2023
ლიცენზია
MIT
გამოყენებს მათ

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.