YouTube Playback Plox

Guarda y retoma automáticamente el progreso de videos en YouTube sin necesidad de iniciar sesión.

当前为 2025-10-22 提交的版本,查看 最新版本

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

  • v0.0.7-2 2025-11-15

    perf: reduce verbose debug logging in progress and status handlers

  • v0.0.7-1 2025-11-15

    fix: fixed time no longer breaks saving progress.

    Added

    • SVG for "unlocked."
    • The alert during fixed time setup now shows the minimum and maximum time available.
    • Translations for "live".
    • Clamp of the fixed time (forceResumeTime) when resuming playback if the value exceeds the actual duration of the video/short.
    • Validation of the fixed time entered from the saved video list so that, if it exceeds the actual duration of the video/short, an error message is displayed and the value is not saved.

    Changed

    • Bumped version of "YouTube Helper API" backup 0.7.2 to 0.7.5
    • The external translation system now invalidates the cache not only by TTL (6 hours) but also when the VERSION of the translations.json does not match the constant TRANSLATIONS_EXPECTED_VERSION in the userscript.

    Fixed

    • If the time used for "fixed time" exceeded the duration of the video, the script would no longer save after loading.
    • Livestreams were being wrongly tagged as "watch."
  • v0.0.7 2025-11-15

    Under construction

    Update youtube-playback-plox.user.js

    Update youtube-playback-plox.user.js

    ad detection still broken for shorts

    Some bug at saving while miniplayer active

    work

    Major update: new features, UI redesign, and bug fixes

    Added

    • Option to set a percentage to consider a video as "completed".
    • Compatibility with FreeTube history importing and exporting.
    • Migration function for the new format and compatibility with FreeTube from now on.
    • Filter for videos with a fixed playback time.
    • Fallbacks and validations for thumbnail loading.
    • Dark mode theme.
    • Support for saving while the miniplayer is playing on the homepage.
    • Progress bar color now matches the percentage viewed (can be disabled).
    • Function to generate a unique playlist color based on a name hash.
    • Option to share public playlists from saved videos.
    • YouTube Helper API: https://greasyfork.org/es/scripts/549881-youtube-helper-api
    • Translations for new items/menus.
    • More logs and comments.
    • New user setting saveInlinePreviews (default: off).

    Changed

    • The message that displays the saving status on the player progress bar now also serves as a button to open a modal showing saved videos — in both regular and Shorts modes.
    • Emojis have been replaced with SVGs in the UI.
    • Saving progress in Shorts is now displayed below the video information, so when comments are toggled, it remains inside the player itself.
    • Complete UI redesign for a more “YouTube-like” look and feel.
    • Improved ad detection.
    • Message for saving progress now doubles as a button to open the config modal.

    Deprecated

    • createAdMonitor
    • observerTasks
    • ObservePlayer
    • ObserveShorts
    • exportDataToFile
    • importDataFromFile
    • showInitRetryToast

    Removed

    • “Locked” emoji on translations, now replaced with an SVG.
    • Emojis from the UI (in most places) to use SVGs.

    Fixed

    • Livestream detection. Lives with URLs of the type /watch now correctly get flagged as "live" using the YouTube Helper API or by detecting its metadata to determine whether the content is a regular video or a live stream.
    • If an ad was playing during miniplayer viewing, it could stop saving
  • v0.0.6-6 2025-10-31

    Refactor of the refactor of the refactor

    Will the translated metadata work this time?

  • v0.0.6-5 2025-10-31

    Refactor metadata for greasyfork translations compatibility - Part II

    Last try!

  • v0.0.6-4 2025-10-31

    Refactor metadata for greasyfork translations compatibility

    Bruh

  • v0.0.6-3 2025-10-31

    Removed blank lines on metadata

    Supposedly greasyfork cannot read and translate with the blank spaces there...

  • v0.0.6-2 2025-10-31

    Added translations, refactor language detection, update metadata

    Added

    • Translations for:
      • en-US
      • es-419
      • zh-TW
      • zh-HK

    Change

    • Improve language detection for format ISO 639-1 + ISO 3166
    • Ensure initialization logic uses saved language if valid, otherwise fallback to detected browser language or default.
    • Order of @name and @description tag in metadata to match order in translations.json

    Remove

    • Unused updatePlaylistVideo function
  • v0.0.6-1 2025-10-30

    fix: missing country codes in metadata

  • v0.0.6 2025-10-29

    feat: fix force time bug, add completed filter, and clear all button

    Code Optimization & Refactoring

    • Add helper functions to eliminate code redundancy:
      • [getSavedVideoData()]: unified video data retrieval (playlist/individual)
      • [updatePlaylistVideo()]: centralized playlist video updates
      • [callResumeWithDelay()]: consistent resume handling for shorts/regular videos
    • Reduce duplicated code across multiple functions
    • Bumped version to 0.0.6 in metadata files.

    Bug Fixes

    • Force time persistence: Videos with forceResumeTime now retain their fixed start time even after completion
    • Fixed issue where fixed time configuration was deleted when video reached the end
    • Modal now displays both "fixed time" and "completed" states simultaneously with gradient styling

    Playlist Improvements

    • Playlist headers in modal now link to last watched video instead of playlist page
    • Fixes broken links for Mix playlists (e.g., RDTAECb8D3EjE)
    • Pass lastWatchedVideoId to playlist items for proper URL construction

    Completed Videos Filter

    • Add "Completed" filter option in modal to view only finished videos
    • Allows users to quickly access their watch history of completed content
    • Complements existing "All", "Videos", and "Playlist" filters

    New Feature: Clear All

    • Add "Clear All" button to modal footer with danger styling
    • Includes confirmation dialog before deletion
    • 10-second undo toast notification with action button
    • Backup all data before clearing to enable restoration
    • Preserve user settings during clear operation

    Translations

    • Add translations for clear all feature in 48 languages:
      • clearAll, clearAllConfirm, allItemsCleared, undoClearAll
    • Update translations.json metadata (version, author, links)

    Styling

    • Add .ypp-btn-danger CSS class for destructive actions
    • Add .ypp-timestamp.forced.completed gradient style for dual-state videos
    • Improve visual hierarchy with hover effects on danger buttons
  • v0.0.5 2025-10-27

    Add logging system and improve player detection

    Added a global logging system for improved debugging and error reporting.

    Updated translations.json to remove unnecessary punctuation and ensure consistency.

    Refactored notification and toast logic, enhanced UI element creation, and updated default minimum save interval.

    Added ad detection before execution.

    Ensured progress is saved by vid even when plId exists, preserving playback position in dynamic Mix playlists (RD…).

    Bumped version to 0.0.5 in metadata files.

    Fixed an issue where videos in dynamic Mix playlists did not resume at the saved timestamp.

    Resolved https://greasyfork.org/es/scripts/553387-youtube-playback-plox/discussions/313165

  • v0.0.4 2025-10-25

    Added compatibility with TrustedHTML

    change translations to json

  • v0.0.3 2025-10-24 Imported from URL
  • v0.0.2 2025-10-24 Imported from URL
  • v0.0.1 2025-10-22 Imported from URL