Youtube Resumer

Changes the ?t= parameter when pausing.

目前為 2022-11-10 提交的版本,檢視 最新版本

作者
Dry Spoon
評價
0 0 0
版本
4
建立日期
2021-10-06
更新日期
2022-11-10
尺寸
1.4 KB
授權條款
未知
腳本執行於

Sometimes Youtube opens a video with a ?t= parameter, but it doesn't get updated and when you refresh you go back to that time instead of where you left off. Also, when reloading, it doesn't resume exactly where you left off. This script updates the url each time you pause the video.

Feel free to use the timeupdate event instead of the pause event (floods browser history) or sessionStorage (the video loads at 0 and then moves to
video.currentTime = sessionStorage.getItem('seconds'), not as smooth as changing the url request).

QingJ © 2025

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