by protomyth · 6y ago · 0 comments
https://josh.works/take-back-your-attention
But a year ago or so, Twitter redesigned the front-end. Now the class names constantly change, and my CSS Selector knowledge isn't good enough to write flexible-enough rules to keep these unwanted elements blocked.
:(
I'd pay someone to pair with me on writing good uBlock rules that make these deletions permanent.
I'd also like to remove all re-tweets and all instances of "so-and-so liked this tweet". uBlock consistently removes all advertisements from the timeline, so... small win.
If you read this and wanna be involved, shoot me an email: joshthompson@hey.com
I'd of course publish what we come up with so others could use it!
twitter.com##[aria-label="Timeline: Trending now"]
twitter.com##[aria-label="Relevant people"]
I use those rules on uBlock origin. let me know if it helps!I immediately and joyfully added your rules to uBlock, and it works like a charm!
I ended up expanding on the concept:
twitter.com##[aria-label="Timeline: Trending now"]
twitter.com##[aria-label="Relevant people"]
twitter.com##[aria-label="Search and explore"]
twitter.com##[aria-label="Footer"]
twitter.com##[aria-label="Who to follow"]Paradoxically, I do need to start using twitter to market my game, but I dread spending time on that site.
I'll probably try to only go there once a week. Social media is weird.
Here's my custom Hacker News style: https://i.imgur.com/KbP5VAX.png
And Craigslist: https://i.imgur.com/uTyST6P.png
Anyway the HN design is almost the pinnacle of perfection to me.
The creator of https://github.com/insin/tweak-new-twitter dropped by and brought this tool to my attention.
It's everything I wanted, works perfectly, has plugins for Chrome and Firefox.
Check it out! Might be exactly what you need.
and promoted tweets (in light mode): .css-1dbjc4n.r-my5ep6.r-qklmqi.r-1adg3ll div[data-testid="placementTracking"]:not(.r-u8s1d)
Obviously very fragile, but has been working fo the last month or so
An earlier suggestion just worked for me, and I suspect it'll be durable:
twitter.com##[aria-label="Timeline: Trending now"]
twitter.com##[aria-label="Relevant people"]
I ended up adding more labels: twitter.com##[aria-label="Timeline: Trending now"]
twitter.com##[aria-label="Relevant people"]
twitter.com##[aria-label="Search and explore"]
twitter.com##[aria-label="Footer"]
twitter.com##[aria-label="Who to follow"]
twitter.com##[aria-label="Search Twitter"]
Now my twitter looks like this:https://share.getcloudapp.com/v1ue8EZY
Here's a pastebin of all my twitter-related rules. You can see I've tried to manually delete a _lot_ of nodes.