This is how to block the related videos section and the recommended movies section on Youtube.com. This should be very helpful when using uBlock Origin on the Internet.
4498 4499 4500 | ! 2021-09-26 https://www.youtube.com www.youtube.com###content > .ytd-rich-section-renderer.style-scope youtube.com##[id^="item-section-"] > li:has(span.yt-badge:has-text(Related)) |
This uBlock Origin rule will block the end-screen module and the annotations on Youtube videos.
4463 4464 | annotations_module.js$script,domain=youtube.com /endscreen.js$script,domain=www.youtube.com |
These rules can be very useful when enjoying Youtube content on the Internet.
Also, for Twitter users, this will hide the trending section that can be very annoying.
4440 4441 4442 | ! 7/15/2020 https://twitter.com twitter.com##.r-m611by.r-1l5qxre.css-1dbjc4n twitter.com##div[aria-label="Timeline: Trending now"],aside[aria-label="Who to follow"] |
An easy way to hide the trending section on Twitter makes it much cleaner and allows the user to focus on the feed.