Live data from Hacker News

My uBlock Origin filters to remove distractions

github.com

1–10 of 190 posts

My uBlock Origin filters to remove distractions

#1
Repository with my filter lists that block some distractions from sites I want to keep using.

I am pretty ruthless removing distractions from my life (e.g. no Instagram, Facebook, TikTok), but some tools I'd like to keep using some parts of it. E.g. Twitter/X, I dislike the feed but I like reading some threads that are shared here or on blog posts. Same for YouTube, I enjoy some videos but I do not want recommendations when I finish the video I was watching.

Feel free to suggest more, open issues, pull requests or send me an email :)

My uBlock Origin filters to remove distractions
github.com

Re: My uBlock Origin filters to remove distractions

#3
A while back I worked out how to erase the pay-to-win monetization spoor from Reddit and Twitter,

    reddit.com##.awarding-icon
    reddit.com##.awardings-bar
    reddit.com##.give-gold-button
    
    twitter.com##:xpath(//div[contains(@style, "hex-hw-shapeclip-clipconfig")]):style(clip-path: circle(50%) !important)

Re: My uBlock Origin filters to remove distractions

#8

A while back I worked out how to erase the pay-to-win monetization spoor from Reddit and Twitter, reddit.com##.awarding-icon reddit.com##.awardings-bar reddit.com##.give-gold-button twitter.com##:xpath(//div[contains(@style, "hex-hw-shapeclip-clipconfig")]):style(clip-path: circle(50%) !important)

What does the last one do?

Re: My uBlock Origin filters to remove distractions

#9
If you use uBlock Origin, did you try to submit these filters to the uBlock Annoyances[1] or EasyList Annoyances lists before starting up this project?

That would help far more people that starting up yet another Annoyances list.

1. https://github.com/uBlockOrigin/uAssets

Re: My uBlock Origin filters to remove distractions

#10
post #8

A while back I worked out how to erase the pay-to-win monetization spoor from Reddit and Twitter, reddit.com##.awarding-icon reddit.com##.awardings-bar reddit.com##.give-gold-button twitter.com##:xpath(//div[contains(@style, "hex-hw-shapeclip-clipconfig")]):style(clip-path: circle(50%) !important)

What does the last one do?

I don't know if they still do it, but at the time Twitter charged money to display user avatars in a larger size, and styled as a hexagon. I think they were NFT tie-ins or something? They were difficult to ignore, so I wrote a snippet to turn hexagons back into circles.

[edit]: https://news.ycombinator.com/item?id=30012904 ("Twitter Rolls Out NFT Profile Pictures")

Post reply on HN