Youtube remove channels

Removing the recommended channels

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Youtube remove channels
// @description Removing the recommended channels
// @namespace   channel_scissors
// @include     http*://*.youtube.com/*
// @include     http*://youtube.com/*
// @version     1.0
// @grant       none
// ==/UserScript==

window.setTimeout(
	function check() {
var a = document.querySelectorAll('.section-list >  li');
var words = /Канал 1|Канал 2/;
for (var i=0;i<a.length;i++) if (words.test(a[i].innerHTML))
    a[i].parentNode.removeChild(a[i]);
    window.setTimeout(check, 300);
	}, 300
);

/* Для блокировки нужных каналов их названия прописываем вместо "Канал 1" и "Канал 2"
    Добавление последующих каналов - через прямую | , как на образце */