Greasy Fork is available in English.
Deletes "People also watched", "For you", "Previously watched", "From related searches", "Latest from", "Popular videos from today", "New channels for you", "People also search for", "Shorts", "Latest Shorts from", "Recommended playlists" and "Recommended videos" Sections from Search Results, Playlists and Channels on YouTube
< Spätná väzba na Cleanup YouTube Recommendations in Search and Playlist
You can delete the Lines 19 - 25, 27 - 28, 31 - 34. After that only the Sections: "Shorts" & "Latest Shorts from" are deleted from the Search Results. The Script would then look like this:
// ==UserScript==
// @name Cleanup YouTube Recommendations in Search and Playlist
// @name:de Bereinige YouTube Empfehlungen in der Suche und bei Playlisten
// @version 1.1.7
// @description Deletes "People also watched", "For you", "Previously watched", "From related searches", "Latest from", "Popular videos from today", "New channels for you", "People also search for", "Shorts", "Latest Shorts from", "Recommended playlists" and "Recommended videos" Sections from Search Results, Playlists and Channels on YouTube
// @description:de Entfernt die Abschnitte "Nutzer haben auch gesehen", "Für mich", "Schon angesehen", "Aus ähnlichen Suchanfragen", "Neueste Videos von", "Beliebte Videos von heute", "Neue Kanäle für dich", "Ähnliche Suchanfragen", "Shorts", "Neueste Shorts von", "Empfohlene Playlists" und "Empfohlene Videos" aus den Suchergebnissen, Playlisten und Kanälen auf YouTube
// @icon https://www.google.com/s2/favicons?domain=youtube.com
// @author TalkLounge (https://github.com/TalkLounge)
// @namespace https://github.com/TalkLounge/cleanup-youtube-recommendations-search-playlist
// @license MIT
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
function cleanup() {
if (window.location.href.startsWith("https://www.youtube.com/results")) {
[...document.querySelectorAll("ytd-reel-shelf-renderer")].forEach(item => item.remove()); // Sections: Shorts, Latest Shorts from
}
}
setInterval(cleanup, 500);
cleanup();
})();
Hope that helped you
Any chance to make this more customizable? Only need to hide shorts