Greasy Fork is available in English.

YouTube - Search Results Cleaner

Hides most of the random, unrelated videos which YouTube injects into search results, but still allows you to access them. This script gathers videos from categories like "People also watched" and "For you" and collapses them into thin boxes on-screen so they won't distract from actual search results. Hover the mouse over these boxes to show their contents.

ئاپتورى
lednerg
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
1,337
باھا نومۇرى
9 0 0
نەشرى
24.1.11.2
قۇرۇلغان ۋاقتى
2022-11-09
يېڭىلانغان ۋاقتى
2024-01-11
ئىجازەتنامىسى
CC-BY-NC-SA-4.0
قوللايدىغىنى

This user style hides most of the random, unrelated videos which YouTube injects into search results, while still allowing you to access them. It gathers videos from categories like "People also watched" and "For you" and collapses them into thin boxes on-screen so they won't distract from the actual search results. Hover the mouse over these boxes to show their contents (animation of this below). This stylesheet works for YouTube's Light and Dark themes.

A couple unrelated videos will occasionally show up in some search results, but this stylesheet will still significantly reduce the amount of scrolling needed to find what you're searching for.

Below is an example where I searched for "Mickey Mouse". As you can see, the unrelated videos are tucked away in the "For you" and "Previously watched" boxes, which can be expanded by hovering the mouse over them.

Changelog

January 11, 2024: Disabled video previews from appearing within the boxes since it was causing glitches. The previews will still play everywhere else. I've made it obvious in the code how to undo this change just in case people want the box previews back.

April 22, 2023: Now applies to lists of Shorts, which are getting more prevalent as YouTube tries to become TikTok.