Greasy Fork is available in English.

Youtube shorts redirect

Youtuebe shorts > watch redirect

< 脚本Youtube shorts redirect的反馈

提问/评论

§
发表于:2022-03-21

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

§
发表于:2022-03-31

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

Fuim作者
§
发表于:2022-04-01

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.

发表回复

登录以发表回复。