Is there a way to prevent YouTube from showing videos already watched in the list of suggested videos?

  • 1
    A quick glance at the HTML makes me think that it shouldn't be too hard to do. You basically want to set display: none on any <ytd-compact-video-renderer> element that contains a child element #progress. You won't be able to do that in CSS, but a Tampermonkey script should be simple enough. I'll have a go later and write an answer... – Aaron F Mar 25 '19 at 17:03

Currently, there is no treat/workaround to do so. Apart from manually block them one by one, there are no scalable solutions.


But there are extensions which can do so like:

// ==UserScript==
// @version        1.1.1
// @name           Hide watched videos on YouTube
// @namespace      https://gist.github.com/xPaw/6324624
// @match          https://www.youtube.com/*
// @updateURL      https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @downloadURL    https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @grant          none
// ==/UserScript==

const app = document.querySelector( 'ytd-app' );

function HideVideos( a )
    app.querySelectorAll( 'ytd-thumbnail-overlay-resume-playback-renderer:not([data-hidden="true"])' ).forEach( element =>
        element.dataset.hidden = true;

        while( ( element = element.parentNode ).tagName.toLowerCase() !== 'ytd-item-section-renderer' )
            // Find the container element for this video

        element.hidden = true;
    } );

function ProcessPage()
    if( !window.location.pathname.startsWith( '/feed/subscriptions' ) )

    const list = app.querySelector( 'ytd-section-list-renderer' );

    if( list.dataset.hooked )

    list.dataset.hooked = true;
    list.addEventListener( 'yt-next-continuation-data-updated', HideVideos );

    // TODO: Find an event to fix this
    new MutationObserver( HideVideos ).observe( list, { childList: true, subtree: true } );

app.addEventListener( 'yt-navigate-finish', ProcessPage );

| improve this answer | |
  • 3
    That's a shame. I'm getting the same ~dozen music videos all the time but completely blocking them is overkill. – JollyJoker Mar 25 '19 at 15:27
  • 1
    oh nice, you updated with a userscript! :-) – Aaron F Mar 26 '19 at 8:34
  • Some don't work, but this is what I was looking for. Tks – DGaleano Nov 18 '19 at 19:45

AFAIK, there's no way to do this on YouTube itself, but I use a Chrome extension (Better Subscriptions for YouTube) that lets you hide watched videos from your subscriptions tab.

| improve this answer | |

I have developed a professional add-on/user script specialy for hiding watched videos on YouTube: watched videos hider addon for Firefox https://addons.mozilla.org/en-US/firefox/addon/youtube-watched-videos-hider/

for chrome and other browsers you need to use the user script limited edition, becouse she will hide also your YouTube songs play list but the addon have option to solve that, you can just stop the script when you want to listen to prewatched song

Firstly you need to install the user script manager

https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en https://addons.opera.com/en/extensions/details/tampermonkey-beta/

Then install the user script from this GitHub link, it should automatically installed with one click , otherwise you need to copy the script and past it in the user script manager(like temper monkey)


| improve this answer | |
  • Okay thanks for head up, I have improved my answare now. – ibtisam midlet Mar 19 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.