Last active
August 31, 2023 20:48
-
-
Save keithjgrant/8ab9d633f321abeed28ffb01617609b0 to your computer and use it in GitHub Desktop.
Adblock plus filters to remove the crap from twitter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twitter.com##.module.trends | |
twitter.com##.wtf-module | |
twitter.com##[data-component-context="suggest_activity_tweet"] | |
twitter.com##.nav>.moments | |
twitter.com##.LiveVideoHomePageModuleContainer |
They changed it yet again. Now COVID will flood our twitter even if we aren't looking for it.
I'm doing something like this
twitter.com##[aria-label*="Set as not interested"]:xpath(../../../../../../../../../../../../../../..)
and
twitter.com##div > div > article > div > div > div > div > div > div > div > div > div > div > div > div > div > div > div > span > span:has-text(/Follow topic/)
now, but they change it every other day, and it also breaks pagination on scrolling down a bit
For the new twitter:
twitter.com##[aria-label*="Trending"] twitter.com##[aria-label*="Who to follow"] twitter.com##a[href="/explore"]
FYI for anyone reading: This syntax is working but they change aria labels, so you'd need to inspect the page to see what the current value is.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Twitter changed its code recently and now the blacklist doesn't work, it showed me a cruise ship sank with millions of children dead. I can't use Twitter anymore.