YouTube Clean Feed

Removes the recommended videos by YouTube

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name       YouTube Clean Feed
// @version    1.1
// @description  Removes the recommended videos by YouTube
// @match      http://www.youtube.com/
// @copyright  2013+, ich01
// @namespace https://greatest.deepsurf.us/scripts/91
// ==/UserScript==
var anzahl = document.getElementsByClassName("system-icon").length;
for (var i = 0;i<anzahl;i++) {
 document.getElementsByClassName("system-icon")[i].parentNode.parentNode.parentNode.parentNode.style.display="none";
}
var anzahl2 = document.getElementsByClassName("feed-thumb-watched").length;
for (var i = 0;i<anzahl2;i++) {
 document.getElementsByClassName("feed-thumb-watched")[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display="none";
}
var anzahl3 = document.getElementsByClassName("watched").length;
for (var i = 0;i<anzahl3;i++) {
 document.getElementsByClassName("watched")[i].parentNode.parentNode.style.display="none";
}
var anzahl4 = document.getElementsByClassName("feed-item-post").length;
for (var i = 0;i<anzahl4;i++) {
 document.getElementsByClassName("feed-item-post")[i].parentNode.parentNode.parentNode.parentNode.style.display="none";
}
var anzahl5 = document.getElementsByClassName("playlist-titles").length;
for (var i = 0;i<anzahl5;i++) {
 document.getElementsByClassName("playlist-titles")[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display="none";
}