Crunchyroll Watchlist

Hide watched animes so it is easier to spot new episodes

Verze ze dne 02. 01. 2022. Zobrazit nejnovější verzi.

Autor
Dry Spoon
Hodnocení
0 0 0
Verze
1
Vytvořeno
06. 10. 2021
Aktualizováno
02. 01. 2022
Size
1,9 KB
Licence
neuvedeno
Spustit na

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