Youtube Save/Resume Progress

Have you ever closed a YouTube video by accident, or have you gone to another one and when you come back the video starts from 0? With this extension it won't happen anymore

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

  • v1.9.4 2026-03-06

    (refactor): unify globals into CONSTANTS/APP_STATE and polish info pill

    Replace scattered vars (configData, state, saveTimerId, menuCommandId, CONFIG_KEY, magic strings) with two structured objects: CONSTANTS for immutable config (selectors, keys, enums, URLs) and APP_STATE for mutable runtime state. Also swap glassmorphism on the info pill for a solid dark background, fixed height, and tabular-nums font feature.

  • v1.9.3 2026-03-06

    (feat): modernize main pill styling

  • v1.9.2 2026-03-06

    (feat): modernize main pill styling

  • v1.9.2 2026-03-03

    (feat/fix): save progress immediately on seek and fix stuck restoring state

    Progress is now saved instantly whenever the user seeks in the video, in addition to the existing periodic auto-save interval.

    Fixed a bug where, if a video had no saved progress, savedProgressAlreadySet was never set to true, causing the saving timer to get stuck displaying "Restoring..." indefinitely.

  • v1.9.1 2026-02-28

    (feat/fix): improve player readiness detection and debug logging

    • Add PlayerState constants replacing magic numbers
    • Rewrite waitForVideoReady with explicit ready-state whitelist and duration-first logic
    • Update UI immediately after seek instead of waiting for next timer tick
    • Gate all logs behind configData.debugMode flag (off by default)
  • v1.9.0 2026-01-25

    (feat/fix): prevent scroll chaining and implement Inter font

    • applied 'overscroll-behavior: contain' to stop background scroll propagation
    • added 'addInterFont' to load and apply 'Inter' as the primary typeface
    • bumped version to 1.9.0
  • v1.8.0 2026-01-23

    (feat): add UI visibility toggle and dynamic menu commands

    • Added the ability to hide/show the extension's UI via dynamic commands in the browser extension menu.
    • Added a "Hide extension" option in the Configuration tab with informational guidance.
    • Improved Configuration UI layout with better spacing and horizontal dividers.
    • Bumped version to 1.8.0.
  • v1.7.1 2026-01-19

    (feat): enhance Saved Videos list with metadata, sorting and clickable links

    • Each video in the list now displays its progress and the last saved date.
    • Videos are automatically sorted from newest to oldest.
    • Titles are now clickable to open the video in a new tab.
  • v1.7.0 2026-01-19

    (feat/refactor): major UI/UX overhaul and performance optimizations

    Performance & Core:

    • Cached #movie_player reference to reduce redundant DOM queries.
    • Extracted all JavaScript-defined styles into a single CSS constant.

    Dashboard Enhancements:

    • Added a new "Current Video" view showing real-time title and progress.
    • Implemented "Stop Saving" feature using a persistent video blacklist.
    • Added sidebar icons for better navigation.

    Configuration Improvements:

    • Replaced min-duration checkbox with an "Always/Custom" toggle.
    • Added a new setting to customize the saving frequency (seconds).
  • v1.6.0 2026-01-15 Imported from URL
  • v1.5.7 2025-02-27 Imported from URL
  • v1.5.6 2025-02-24 Imported from URL
  • v1.5.5 2025-02-13 Imported from URL
  • v1.5.4 2025-02-12 Imported from URL
  • v1.5.3 2025-02-12 Imported from URL
  • v1.5.2 2025-02-11 Imported from URL
  • v1.5 2024-11-09 Imported from URL
  • v1.5.1 2024-11-08

    Fix: fetching icon responds with 404, deleted for now

  • v1.5 2024-03-10 Imported from URL
  • v1.4.5 2024-03-09 Imported from URL
  • v1.4.5 2024-02-19

    Changed extension name

  • v1.4.4 2024-02-19

    Fixed bug: on Firefox, the info UI not displaying at all

  • v1.4.3 2024-02-19

    Fixed bug: on Chrome the info UI is inserted on the right

  • v1.4.2 2024-02-19

    Fixed bug: when the video has chapters, the info UI is displayed on the right side instead of on the left

  • v1.4.1 2024-02-19
  • v1.4 2024-02-19

    Added user interface that shows the last time it was saved the video

  • v1.3 2024-02-18

    Improved flow.
    Before:
    initialize -> setSavedProgress -> loop main at interval doing again the setSavedProgress
    (here the first setSavedProgress sometimes is not executed because the player is not available so the second one within the loop is executed)

    Now:
    initialize -> onPlayerElementExist(setSavedProgress) -> loop saveVideoProgress

  • v1.2 2024-02-18

    Improved performance by not accesing to the video id in each interval iteration
    Created config data for global stuff

  • v1.1.2 2024-02-16

    Changed icon

  • v1.1.1 2024-02-15

    Changed description

  • v1.1 2024-02-14