Mark Watched YouTube Videos

Add an indicator for watched videos on YouTube. Use GM menus to display history statistics, backup history, and restore/merge history.

A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.

  • v1.4.62 02/11/2024

    Update for site changes. YouTube sneak in from the other bridge. So we boobytrapped that bridge too.

  • v1.4.61 07/08/2024

    Update to workaround the new one-sided anti-content-control "trusted" CSP policy (sic)

  • v1.3.60 05/05/2024

    Fixed history statistics calculation for average viewed video count (hopefully). Added time span of the watch history. Changed maximum age of watched video in history from 5 years to 10 years.

  • v1.3.59 14/11/2023

    Fix manual toggle watched marker due to site changes

  • v1.3.58 23/01/2023

    Fixed marker no longer work on video items shown in channel/user search page, due to site changes

  • v1.3.57 13/11/2022

    Fine tune marking of rounded-cornered video list item

  • v1.3.56 03/11/2022

    Added history data size display to statistics. Update for rounded-cornered video list items.

  • v1.3.52 28/10/2022

    Added support to mark video items in the new user/channel "SHORTS" tab

  • v1.3.51 26/07/2022

    Bugfixed a typo in the code which caused videos on "load more" list are nor marked.

  • v1.3.50 03/07/2022

    Bugfix for previous update

  • v1.3.49 03/07/2022

    Update to support older browsers which don't yet support JavaScript optional chaining feature

  • v1.3.48 28/06/2022

    Update due to site changes: markers failed to be applied; broken marker toggling

  • v1.3.47 25/11/2021

    Fixed video items on Recommended page (i.e. home page) failed no longer marked due to site changes

  • v1.3.46 02/11/2021

    Added support for short videos (whose URL uses "shorts" instead of "watch").

  • v1.3.45 01/06/2021

    Increased reliability of video marking on page scroll.

  • v1.3.44 28/05/2021

    Fixed video items added when scrolling page were not reliably marked.

  • v1.3.43 03/02/2021 Fixed "Mix" video items on sidebar of video page didn't get marked due to site changes
  • v1.3.42 16/09/2020 Fixed playlist video entries failed to be marked on search result page
  • v1.3.41 31/08/2020 Adjusted timing of page processing due to site functionality getting slower.
  • v1.3.40 15/08/2020 Fixed broken video markers on main search result page due to site changes
  • v1.3.39 23/07/2020 Added marker outline to surround the video thumbnail and text. For spotting items where the text part is not yet visible in the viewport.
  • v1.3.38 20/07/2020 Fixed failed marking of video list items on channel page's search result due to site changes
  • v1.3.37 23/06/2020 Fixed failed video marking when loading subsequent video list items due to site changes
  • v1.3.36 15/05/2020 Fixed history data merging process replaced the data instead
  • v1.3.35 24/01/2020 Fixed number of history data entries calculation in statistics display. When merging data, data will only be added/updated if not yet exist or if it's older.
  • v1.3.33 20/01/2020 Added ability to merge data and make replace data as optional. Fixed unsynced data index if viewing the same video again. Cosmetic fix.
  • v1.2.30 18/11/2019 Fixed markings of grouped videos on video search result page
  • v1.2.29 18/11/2019 Added support for importing YouTube's own history data JSON format
  • v1.1.28 18/11/2019 Fixed history restore file selector dialog fix for Safari. Included markings of video list on Watch History page. Update markings after restoring history data. Added support for restoring history data from list of URLs.
  • v1.1.24 17/11/2019 Fixed remnants of destructive bug from earlier version
  • v1.1.23 16/11/2019 Bugfix for last update
  • v1.1.22 16/11/2019 Fix for last update: Added GM menus for displaying history statistics, backup history, and restore history. Update for faster history lookup. Changed max history entry age to 5 years.
  • v1.1.21 16/11/2019 Temporary revert
  • v1.1.20 16/11/2019 Added GM menus for displaying history statistics, backup history, and restore history. Update for faster history lookup. Changed max history entry age to 5 years.
  • v1.0.19 15/11/2019 Update for YouTube changes on the new home page video list
  • v1.0.18 15/09/2019 Fixed partially broken marker highlight on old YouTube layout
  • v1.0.17 13/09/2019 Added support for YouTube dark theme. Use dark green highlight when dark theme is used.
  • v1.0.16 14/04/2019 Fixed search result video items did not immediately get marked.
  • v1.0.15 05/02/2019 Fixed broken highlighting due to YouTube site changes. Increased MaxWatchedVideoAge to one year.
  • v1.0.12 02/09/2018 Fixed video items were not marked when they're loaded on page continuation or "show more" button. Changed default maxWatchedVideoAge to 6 months.
  • v1.0.11 05/04/2018 Made the mouse button for toggling the marker configurable, where by default is configured for both ALT+LeftClick or ALT+RightClick.
  • v1.0.10 30/03/2018 Fix broken markers due to yet another YouTube internal changes (sigh...)
  • v1.0.9 13/03/2018 Added workaround for YouTube changes. Please adjust delay configurations in the script.
  • v1.0.8 15/02/2018 Applied workaround to highlight video items listed on user/channel search
  • v1.0.7 15/02/2018 Fatal bug on previous update (sorry)
  • v1.0.6 15/02/2018 Fixed marker highlights don't show on channel/user video search (new YouTube layout only)
  • v1.0.5 25/01/2018 Uses new method to avoid performance loss (new YouTube layout only)
  • v1.0.4 27/11/2017 Added ALT+Click on video list item for manually toggling the watched marker (since previous update). Fix markers for sidebar video list on video page.
  • v1.0.3 23/11/2017 Update for new YouTube layout. Increased default maxWatchedVideoAge to 60 days.
  • v1.0.1 02/06/2017