Greasy Fork is available in English.

Youtube Resumer (using the url)

Changes the ?t= parameter when pausing. Other version: https://greasyfork.org/en/scripts/455475-youtube-resumer

ผู้เขียน
Dry Spoon
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
227
คะแนน
4 1 0
เวอร์ชัน
4
สร้างเมื่อ
06-10-2021
อัปเดตเมื่อ
19-11-2023
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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