Restore animated thumbnail previews - youtube.com

To restore animated thumbnail previews, requires inline previews to be disabled in your YouTube settings. Note: not Greasemonkey compatible. v2.0 adds fallback option of a still image carousel for the homepage where YouTube has changed their data structure to no longer provide an_webp animated thumbnail urls, which is affecting some users; for such users non-homepage pages are unaffected and continue to use the an_webp animated thumbs.

目前為 2025-02-12 提交的版本,檢視 最新版本

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v5.9 2025-09-18

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

  • v5.8 2025-09-14

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

  • v5.7 2025-09-12

    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 2025-08-22

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

  • v5.5 2025-08-19

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

  • v5.4 2025-08-15

    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 2025-08-12

    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 2025-08-08

    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 2025-08-06

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

  • v5.0 2025-08-04

    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 2025-08-03

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

  • v4.2 2025-08-02

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

  • v4.1 2025-08-02

    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 2025-07-28

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

  • v3.0 2025-07-12

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

  • v2.0 2025-02-12

    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 2023-12-15

    Update documentation to advise not Greasemonkey compatible.

  • v1.0 2023-12-14