How to Use uBlock Origin to Blacklist Videos on YouTube
----
! youtube subscription blacklist youtube.com##ytd-grid-video-renderer[class="jake paul|logan paul/i)
! youtube home blacklist youtube.com##ytd-rich-item-renderer[class="style-scope ytd-rich-grid-renderer"]:has-text(/jake paul|logan paul/i)
! youtube search blacklist youtube.com##ytd-video-renderer[class="style-scope ytd-vertical-list-renderer"]:has-text(/jake paul|logan paul/i)
! youtube search + trending blacklist youtube.com##div[class="style-scope ytd-video-renderer"]:has-text(/jake paul|logan paul/i)
----
The keywords are non case-sensitive thanks to "/.../i" You need to separate each new keyword with "|" If you add "|" before "/i" without writing anything (as in "|/i"), you will blacklist everything!
This code works with newest Youtube Layout as of 2020 June.
0 comments
[ 0.19 ms ] story [ 19.1 ms ] threadNo comments yet.