Greasy Fork is available in English.

Youtube Cleaner

Removes the recommendations from the main page of YouTube.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @description Removes the recommendations from the main page of YouTube.
// @include http://www.youtube.com/
// @include http://youtube.com/
// @include https://youtube.com/
// @include https://www.youtube.com/
// @name Youtube Cleaner
// @namespace kgnc
// @version 2.0.0
// @grant none
// ==/UserScript==

/*
	A userscript to remove the recommendations on YouTube.
    Copyright (C) 2014  Kaan Genç

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    A copy of the GNU General Public License can be found at:
	<https://raw.githubusercontent.com/SeriousBug/yt-cleaner/master/LICENSE>
	or <https://www.gnu.org/licenses/gpl.html>.
*/


//All annotations
annotations = document.getElementsByClassName("shelf-annotation shelf-title-annotation");
for (i = 0; i < annotations.length; i++) {
    annotations[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display = "None";
}

//Featured badge
featured = document.getElementsByClassName("shelf-featured-badge");
for (i = 0; i < featured.length; i++) {
    featured[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display = "None";
}

//Try to disable auto-loading of the page
document.getElementsByClassName("yt-uix-load-more")[0].setAttribute("data-uix-load-more-href", "");
document.getElementsByClassName("yt-uix-load-more")[0].setAttribute("data-scrolldetect-callback", "");
document.getElementsByClassName("yt-uix-load-more")[0].style.display="None";