Youtube scroll lock time link in picture-in-picture

When using Picture-in-Picture (PiP), don't scroll to the top of the page when clicking on a link that displays the time of the video.

Устаревшая версия за 18.09.2022. Перейдите к последней версии.

Автор
ziopuzzle
Оценки
0 0 0
Версия
1.1
Создано
18.09.2022
Обновлено
18.09.2022
Размер
3,0 КБ
Лицензия
MIT
Работает на

Youtube scroll lock time link in picture-in-picture

The playback time link in the comment is very useful.
However, it scrolls to the top of the page each time it is clicked.
If you are using picture-in-picture, it can be annoying to go back to the top of the page.
This user script is intended to remedy that.

🔍Feature
・When using picture-in-picture (in Chrome, you can select this option by right-clicking twice on video),
clicking the playback time link in the comments section will hold the scroll position (move to the top of the page for a moment).

🔧How to
・Install this userscript.