Skip to content

Instantly share code, notes, and snippets.

@xia-m
xia-m / uBlock Origin filters for Youtube
Last active May 25, 2023 00:12
uBlock Origin filters for cleaning up Youtube search, shorts, etc for a better user experience
! Clean up Youtube search
www.youtube.com##ytd-search ytd-item-section-renderer ytd-shelf-renderer
www.youtube.com##ytd-search ytd-item-section-renderer ytd-horizontal-card-list-renderer
! Remove Youtube shorts crap
www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer)
www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer)
www.youtube.com##ytd-browse #dismissible ytd-rich-grid-slim-media[is-short]:upward(ytd-rich-section-renderer)
www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer)
www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer)