Prevent Youtube scrolling to top when clicking timestamps in description or comments
< 脚本 Youtube - No scroll to top on timestamps 的反馈
It's true if there's no text, like when you click the next button. This script will prevent YouTube from skipping to the next video.
Thanks, I haven't noticed this edge case as I have those buttons removed.
I've added this check. There shouldn't be any issues now.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Your
timestampToSeconds
will always returntrue
. This will disable the next button.You need to return false if parts.length < 2.