Youtube shorts redirect

Youtuebe shorts > watch redirect

< 脚本Youtube shorts redirect的反馈

提问/评论

§
发表于:2023-06-08
编辑于:2023-06-08

Did something brake within the last hour?

Without me changing and/or installing anything pages on Youtube redirected by this script do not load any more. Instead they are in a, what I can only describe as, endless trying to load loop. The Shorts pages itself load fine. I also tested other redirect scripts and the same thing happens with them.

Is it just me or can someone look into this issue?

Thanks in advance.

§
发表于:2023-06-08

Important addition: Only happens (loading loop) when logged in to your account, at least for me. Unfortunatel I have to be logged in...

§
发表于:2023-06-20

this piece of code was shared by the guy one message below you, use it, much better than the current script


function main() {
const l = window.location
customLog('Running check against...', l)
if(l.pathname.startsWith('/shorts/')) window.location.replace(l.href.replace('/shorts/', '/watch?v='))
}

window.addEventListener('yt-navigate-finish', main)
main()
§
发表于:2023-06-21

Sorry but idk what to do. When I create a new script with that piece of code Youtube simly loads the video as a Shorts as if nothing happened

§
发表于:2023-06-26

Sorry but idk what to do. When I create a new script with that piece of code Youtube simly loads the video as a Shorts as if nothing happened

hey `customLog` is not defined, simply remove the line containg `customLog` and it'll work, pinky promise :)

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址