Youtube - No scroll to top on timestamps

Prevent Youtube scrolling to top when clicking timestamps in description or comments

< Feedback on Youtube - No scroll to top on timestamps

Review: Good - script works

§
Posted: 05-04-2023

Your timestampToSeconds will always return true. This will disable the next button.

You need to return false if parts.length < 2.

§
Posted: 05-04-2023

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.

q1kAuthor
§
Posted: 05-04-2023

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.

Post reply

Sign in to post a reply.