4 ms·
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
by safety1st 2y ago
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'
- esperent 2y agoDoesn'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.
- abdusco 2y agoI 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.