I'm looking for a Ublock Origin custom filter that I can add that will permanently block the recommended videos section from showing on my YouTube homepage?

I tried blocking the recommended videos section using the "block element" picker, but it didn't work; each time the YouTube homepage is refreshed it comes back, the block doesn't stick.

I appreciate any help; thank you very much for your time.

4 Answers 4



youtube.com##.section-list > li:has(.shelf-title-cell > a[href="/feed/recommended"])
  • Can you explain how this will work?
    – Burgi
    Jan 10, 2017 at 17:29
  • Through trial and error and looking at some other questions and responses around here (superuser.com/questions/514111/…), etc., I tried adding www.youtube.com##li:nth-of-type(2) in the my filters list, it seems to work...so far...
    – Somebody
    Jan 10, 2017 at 18:41
  • Edit: www.youtube.com##li:nth-of-type(2) was causing other things to disappear that I didn't want to block so I had to delete it from the my filters list.
    – Somebody
    Jan 10, 2017 at 19:06
  • It works exactly. Thanks so much for the help.
    – Somebody
    Jan 10, 2017 at 19:15

I find this one way more understandable: at "www.youtube.com" pick "dismissable" id element that has "title" id element which contains "Recommended" text.


How about this to not show videos on the homepage alltogether:


And this to hide recommendations next to a video:


For me, this one worked and removed the recommended videos at the start page without blocking other stuff (like videos on a channel).


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.