Greasy Fork 支持简体中文。

YouTube Auto-Resume

This script automatically tracks and restores your YouTube playback position. This user script remembers where you left off in any video—allowing you to seamlessly continue watching even after navigating away or reloading the page. It saves your progress for each video for up to 3 days (configurable) and automatically cleans up outdated entries, ensuring a smooth and uninterrupted viewing experience every time.

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v1.2.7 2025-02-21

    slightly modified how new video loads are handled

  • v1.2.6 2025-02-20

    Update to match YouTube api event changes.

  • v1.2.5 2025-02-19

    Made videos not resume if the playback time is already within 1 second of the value stored.

  • v1.2.4 2025-02-16

    YouTube sometimes incorrectly sets playback status to isCued even if the video is already playing. Fixed code that relied on that playback status.
    Fixed an issue that incorrectly attaches multiple event listeners to the same video element under certain conditions.

  • v1.2.3 2025-02-16

    Make the script resume playback position without waiting for playback if the video is not in a cued state.

  • v1.2.2 2025-02-15

    Removed debug logging to stop console spam.

  • v1.2.1 2025-02-15

    Fixed an issue where the script would incorrectly start playback if the video player puts itself into the 'isCued' playback state.

  • v1.2.0 2025-02-15

    Seperated storage for each video ID so they no longer keep overwriting each other when multiple videos are playing at the same time.
    Disabled auto-resume for live content.

  • v1.1.0 2025-02-13

    The script now removes the entry of the video that has fully finished playing.

  • v1.0.0 2025-02-13