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.

ئاپتورى
seekhare
بۈگۈن قاچىلانغىنى
2
جەمئىي قاچىلانغىنى
516
باھا نومۇرى
10 0 0
نەشرى
5.7
قۇرۇلغان ۋاقتى
2023-12-14
يېڭىلانغان ۋاقتى
2025-09-12
Size
13.8 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

To restore animated thumbnail previews (when hovering over a video tile when browsing etc). 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).

Note: not Greasemonkey compatible. Recommendation is to use Violentmonkey.

Change log:

  • 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: Fix for overlay selector due to Youtube changing class name.
  • v5.5, 2025-08-19: Add compatibility with DeArrow extension for users of that extension.
  • 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: Increase cached time of an_webp urls to 5 hours following testing indicating this as an appropriate time limit.
  • v5.2, 2025-08-08: 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: Better selectors to better select only new UI video tiles and exclude text posts etc.
  • 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: Better variable names and improved code comments.
  • v4.1/4.2, 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: Add new carousel fallback for Youtube's new homepage UI.
  • 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-14: Initial release.