Youtube Resumer

Changes the ?t= parameter when pausing.

2021/12/18のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Dry Spoon
評価
0 0 0
バージョン
4
作成日
2021/10/06
更新日
2021/12/18
大きさ
1.87KB
ライセンス
不明
対象サイト

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).