Rather than activating a standalone plugin to declutter YouTube, you could use the Free, Open-source ad content blocker uBlock Origin to do that job. This Web extension is available to download on platforms like Chrome, Firefox, Edge, and Opera.
The WebExtension uBlock Origin, contrary to the News Feed Eradicator & DF Youtube, will now eliminate the most addictive elements on Youtube. I’ll constantly update this post by adding uBlock origin filters to keep Youtube less distractive.
To apply the below filters, you need to install the extension and go to the My FIlters page.
Access the My Filter section by copy-pasting the below code on the chrome browser.
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html#1p-filters.html
You may apply the codes only for the elements you wish to block. If you want to temporarily disable the block, add !
before the code.
Hide miscellaneous Links from the bottom of the sidebar
www.youtube.com/###guide-links-primary
www.youtube.com/###guide-links-secondary
www.youtube.com###copyright
Hide the Subscriptions list from the sidebar
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(2)
Hide more from Youtube from the sidebar
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(3)
Hide videos only on the main homepage
www.youtube.com##.ytd-two-column-browse-results-renderer.style-scope > .ytd-rich-grid-renderer.style-scope
Hide the related videos sidebar when watching a video and move the video player to centre
www.youtube.com###secondary
Block / Hide YouTube Comments
www.youtube.com##.ytd-comments.style-scope
Hide view count of videos under the video player
www.youtube.com##.ytd-video-view-count-renderer.style-scope.view-count
Hide subscriber count near the channel name under the video player
www.youtube.com###owner-sub-count
Hide the notification bell on the top bar
www.youtube.com##.notification-button-style-type-default.ytd-notification-topbar-button-renderer.style-scope
Hide all the videos on the channel page
www.youtube.com##ytd-browse.ytd-page-manager.style-scope:nth-of-type(4)
Hide video suggestions and end cards in the player
www.youtube.com##.ytp-ce-element
Hide Youtube Shorts
www.youtube.com##ytd-browse ytd-grid-video-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))
www.youtube.com##ytd-search ytd-video-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))
www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-compact-video-renderer:has(span.ytd-thumbnail-overlay-time-status-renderer:has-text(/\s(0:\d\d|1:0\d)\s/))
To get all the codes in a single file, click here.
Want to declutter more on youtube? Let me know in comments.
4 responses to “Declutter YouTube with uBlock Origin”
Thanks for your blog, nice to read. Do not stop.
Thank you.
Thank you so much bro, We appreciate your efforts.
You’re welcome!