Greasy Fork is available in English.
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.
< Feedback on YouTube - Search Results Cleaner
That would scroll the list of videos backup to the top when not hovering. That's not something I want the boxes to do. I want them to retain whatever position they've been scrolled to.
The "title" I'm talking about in the comment is the "People Also Watched", "For You" (etc) titles. Without that rule, those titles won't reappear after scrolling in a box.
A small correction for the after hover (your"^ places title back in view when not hovered").
Because after an hover the title don't return visible if you scroll in the container:
With this quick correction, it should now.. (i don't test it more... )
.ytd-search ytd-shelf-renderer:not(:hover) {
height: 30px !important;
/* ^ places title back in view when not hovered */
}
.ytd-search ytd-shelf-renderer:not(:hover) > #dismissible {
position: absolute !important;
height: 0px !important;
/* ^ places title back in view when not hovered */
}
.ytd-search ytd-shelf-renderer:not(:hover) > #dismissible .grid-subheader.ytd-shelf-renderer {
margin-top: 0.5vh !important;
}