Restore animated thumbnail previews - youtube.com

To restore animated thumbnail previews. Requires inline video previews to be disabled in your YouTube user settings (Go to https://www.youtube.com/account_playback and set "video previews" to disabled). Not Greasemonkey compatible. v5 Add new method for getting an_webp GIF-style thumbs when not available in YT's new homepage UI or subscription page UI.

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

  • v5.9 18/09/2025

    v5.9, 2025-09-18: Fix to use clearInterval when mouse leave event, per user report.

  • v5.8 14/09/2025

    v5.8, 2025-09-14: Disable img onload check for now as Chrome+Tampermonkey has not working with it.

  • v5.7 12/09/2025

    v5.7, 2025-09-12: Fix for live tile exclusion selector due to Youtube changing class name. Add check that image loaded is not the 404 missing image and if is remove img element, this handles videos where the YT hq1/hq2/hq3 aren't generated yet (such as a stream which only just finished) or non-working an_webp.

  • v5.6 22/08/2025

    v5.6, 2025-08-22: Fix for overlay selector due to Youtube changing class name.

  • v5.5 19/08/2025

    v5.5, 2025-08-19: Add compatibility with DeArrow extension for users of that extension.

  • v5.4 15/08/2025

    v5.4, 2025-08-15: Revert cached time of an_webp urls to 3 hours as small number of expired found at 5. Remove an exception rule for type that YT stopped providing an_webp for. Tidy up code and comments.

  • v5.3 12/08/2025

    v5.3, 2025-08-12: Increase cached time of an_webp urls to 5 hours following testing indicating this as an appropriate time limit.

  • v5.2 08/08/2025

    v5.2, 2025-08-06: Add localStorage of fetched an_webp urls for a few hours so a page refresh or a new tab has some immediate cached data available for faster performance. Handle some problematic videoID formats to get more an_webp urls successfully. Add new exclusion for 'Upcoming' video tiles.

  • v5.1 06/08/2025

    v5.1, 2025-08-06: Better selectors to better select only new UI video tiles and exclude text posts etc.

  • v5.0 04/08/2025

    v5.0, 2025-08-05: New method to restore an_webp GIF-style on new YT UI pages. Attempts to fetch an_webp thumbs for homepage/ subscription page via YT search endpoint (anonymous fetch so won't affect user's search history) and takes a few seconds for first batch to load. Carousel fallback remains functional for when an_webp thumbs not available or not yet loaded.

  • v4.3 03/08/2025

    v4.3, 2025-08-03: Better variable names and improved code comments.

  • v4.2 02/08/2025

    v4.2 Add new exception to carousel fallback to prevent unnecessary image request.

  • v4.1 02/08/2025

    v4.1, 2025-08-02: Youtube now sometimes includes videos with inline videos disabled (marked by a play icon crossed out on the thumbnail overlay), these prevent the carousel fallback fix enabling, so v4.1 adds a fix to handle this correctly. Also adjust the fallback carousel pace to 500ms/image so it is faster.

  • v4.0 28/07/2025

    v4.0, 2025-07-28: Add new carousel fallback for Youtube's new homepage UI.

  • v3.0 12/07/2025

    v3.0, 2025-07-12: Add fix for new youtube update to sidebar vids; remove carousel fallback.

  • v2.0 12/02/2025

    Add a fallback option for users affected by YouTube's recent code changes that they are no longer providing an_webp animated thumbnail URLs on the homepage. The fall back makes a still image carousel/slideshow of some available screenshots apply to the homepage. At time of writing only some users affected and only the homepage is affected, other pages continue to work with an_webp animated thumbnails.

  • v1.0 15/12/2023

    Update documentation to advise not Greasemonkey compatible.

  • v1.0 14/12/2023