Greasy Fork

YouTube 自动续播

无缝接续播放任何 YouTube 视频,从您上次离开的地方继续观看。此脚本会自动保存您的播放进度,并拥有智能播放列表处理功能:您在播放列表中的进度会被独立保存,不会影响您在其他地方观看同一视频的记录。此外,它还能以独特规则处理 Shorts 和视频预览,并会自动清理过期数据。

这些是此脚本的所有版本。 只显示代码变更过的版本。

  • v1.6 2025-06-16
    • Added Full Playlist Support: The script now properly tracks and resumes progress within all YouTube playlists.
    • Separate Playlist Progress: A video's progress within a playlist is now saved independently to the playlist's context. Thiswill not interfere with the progress of the same video when watched outside of a playlist.

    • [m] Various code refactoring and robustness improvements.

  • v1.5.2 2025-06-15

    minor code clean up

  • v1.5.1 2025-06-14

    Mini Rewrite.

    • Fixed a few race conditions that caused resumption to appear ineffective under certain conditions.
    • Sped up the initial script loading.
    • Updated memory duration. It's not 30 days by default, but shorts and previews being shorter.
    • Added a cleanup interval that would clean up storage every 5 minutes. (experimental)
  • v1.4.1 2025-05-05

    Oops

  • v1.4 2025-05-05

    Added early loading for first load.
    Added better iframe handling.

  • v1.3.4 2025-05-03

    Tracking videos with specified times are causing more issues than it solves. Removing this feature.

  • v1.3.3 2025-04-30

    Added a small amount of extra handling logic for homepage and previews.

  • v1.3.2 2025-04-27

    Excluded script from being run in youtube chat.

  • v1.3.1 2025-04-10

    Restored resumption behaviour for "Watch Later" playlists.

  • v1.3 2025-04-09

    Updated script to no longer trigger resumption if the video is being viewed as part of a playlist. Playback progress is still tracked. It makes more sense if the playlist plays with every video playing completely through instead of starting at varying time for each video.

  • v1.2.12 2025-03-27
  • v1.2.12 2025-03-27

    Skips buffer check during seek. Increases perceived and actual performance slightly.

  • v1.2.11 2025-02-28

    oops

  • v1.2.10 2025-02-28

    Fixed an issue that caused videoIds to be tracked incorrectly when loading a video with a timed link.

  • v1.2.9 2025-02-27

    Skip videos that already have the t parameter to avoid overwriting the time specified by timed links.

  • v1.2.8 2025-02-24

    Refactor and minor bug fixes.

  • 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
  • v1.0.0 2025-02-13