Re:Blocklist of all Facebook domains
by curiousgal on Saturday May 28, 2016 @06:40AM
(#11791187)
Any idea of an easy/quick way to toggle these edits on/off on Ubuntu?
[ Parent
| on HN ]
Re:Blocklist of all Facebook domains
by maxschumacher91 on Saturday May 28, 2016 @07:54AM
(#11791330)
I've put them in my host file and created an alias that switches between naming the host-file "hosts" (which will be recognized by the OS) and hostx.
from my .zshrc:
#block Twitter, Facebook, reddit and Linkedin. alias on="sudo mv /etc/hostx /etc/hosts" alias off="sudo mv /etc/hosts /etc/hostx"
Re:Blocklist of all Facebook domains
by curiousgal on Saturday May 28, 2016 @10:02AM
(#11791685)
Awesome! Thanks.