News for hackers. Stuff that matters.
Re:Quit Social Media by safety1st on Friday October 25, 2024 @12:53AM (#41942333)
Amend according to your preferences, run it whenever something annoys you, throw it in a cron job, etc.

.bash_aliases:

alias blocksocials='(echo ""; echo "127.0.0.1 reddit.com"; echo "127.0.0.1 www.reddit.com") | sudo tee -a /etc/hosts > /dev/null'

alias unblocksocials='sudo sed -i "/reddit.com/d" /etc/hosts'

Re:Quit Social Media by esperent on Friday October 25, 2024 @02:04AM (#41942638)
Doesn't do much for phone usage, which is where I actually want to block things. The best solution I've found for that is NextDNS.
Re:Quit Social Media by abdusco on Friday October 25, 2024 @05:13AM (#41943554)
I use Kiwi Browser on Android, which is a Chrome-based browser with extension support. I have a userscript that gradually fades out and desaturates social media pages in 8 minutes. After 4-5 minutes, pages fade out so much that you are forced to stop scrolling and it's not enjoyable anymore.

The same can be done on Firefox, which supports installing Tampermonkey for managing userscripts.