I got sick of blocking sites such as facebook.com and facebook.net per browser, and decided to add them to my
/etc/hosts file so the sites would be blocked entirely:
0.0.0.0 facebook.com facebook.net www.facebook.com
That seemed to do the trick, but now when I load pages that attempt to include Facebook "Like" buttons, I get a big gray box that says
The server refused the connection. Seems like a pretty ugly way to handle such a thing, being that the gray box obscures more than 75% of the page sometimes.
Is there a way I can keep blocking requests but eliminate this usability destroyer that is the big gray box?