My uBlock Rule by the end of the video, definitely change the bad words:
! Twitter Bad Words
twitter.com##[data-testid="cellInnerDiv"]:has-text(/ the | and | or /i)
! Discover more / More Tweets - Conversation view suggestions
twitter.com##[aria-label="Timeline: Conversation"] [data-testid="cellInnerDiv"] h2:has-text(/^(Discover more|More Tweets)$/):upward([data-testid="cellInnerDiv"])
twitter.com##[aria-label="Timeline: Conversation"] [data-testid="cellInnerDiv"] h2:has-text(/^(Discover more|More Tweets)$/):upward([data-testid="cellInnerDiv"])~div
The reddit post, not tweet lol: https://www.reddit.com/r/uBlockOrigin...
Github Page: https://github.com/gorhill/uBlock/wik...
00:00 - Introduction talking about why I block it on the browser not platform.
01:00 - Creating the rule to hide tweets that contain words
02:00 - Discovering we didn't filter words, but strings. So "the" would block "therefore", since the is a substring.
02:59 - Making it case insensitive
03:30 - Showing where the data-testid came from
04:20 - Showing some more filters, showing the reddit post not tweet (lol)
Смотрите видео Hiding Spam with uBlock Origins онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал IppSec 21 Январь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 10,208 раз и оно понравилось 615 посетителям.