Greasy Fork is available in English.

Youtube shorts redirect

Youtuebe shorts > watch redirect

< Spätná väzba na Youtube shorts redirect

Otázka/komentár

§
Pridaný: 21.03.2022

Why redirect to '/watch/' instead of '/watch?v=' when the former redirects to the latter anyway?

I tried replacing '/watch/' with '/watch?v=', but the script ended inserting /watch?v=%2F instead of /watch?v= so probably the script ended including "" part in the url

FuimAutor
§
Pridaný: 01.04.2022

Almost exactly what he said, the %2F in a / from the /shorts/ because I'm an idiot and forgot the '' in the '/shorts/', using '/watch?v=' you ended up with '//watch?v=/' which doesn't exist, but using '/watch/' gives you '//watch//', the browser just treats '//' as '/' so it didn't cause any issue, I'm making it work properly now.

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.