Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I block any trace of Facebook from my computer?


I keep getting Facebook all over my pages plus stuff from their users. How
can I block all Facebook from coming into my computer?

In this excerpt from
Answercast #83
, I look at the prevalence of Facebook on the web and how that
is basically out of your control.


Block Facebook from my computer

Well, the short answer is that you can’t.

Facebook is extremely popular. You can certainly try and block email that comes from – to prevent people from, perhaps, inviting you to join Facebook, or sharing things with you on Facebook.

Facebook “Likes” on the internet

But – the other part of this is getting rid of it on web pages.

You know what? It’s there. It’s not something you control; it’s not something that’s controlled by anything that happens on your computer. It is something that’s placed there by the web page authors, to varying degrees.

I, for example, at the bottom of every Ask Leo! article, have a Facebook “Like” widget because liking things on Facebook is one way that people share what they find on websites around the web. Other sites do exactly the same thing. They include Facebook controls to make it easier for the people who do use Facebook to actually use Facebook to share things they find of interest around the web.

Facebook logins

Many sites are now using Facebook as their authentication source.

In other words, they allow you the option of logging into their function using your Facebook login. You’ll probably see a lot of that. Again, that’s not something you control.

You don’t have to use it if they provide an alternative. You don’t have to use a Facebook login if you can login in other ways. It’s just an option – a convenience for the millions, and millions of people that are using Facebook.

Waste of energy

Ultimately, I think that wishing Facebook would go away, or getting annoyed by Facebook, is a waste of energy.

It is so incredibly popular, and being used by so many people right now, that the best thing I would suggest you do is to simply tolerate it. Delete any emails that you don’t want; mark them as spam if you like.

I mean: consider it spam.

If you want to go so far – set up an email filter that blocks any emails that come from, if it’s really that upsetting to you.

But in reality, life’s too short. This isn’t something worth getting upset about and it certainly is not something that’s going to go away any time soon.

(Transcript lightly edited for readability.)

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

7 comments on “How do I block any trace of Facebook from my computer?”

  1. two things

    1. set your spam filter so that all facebook messages are immediately deleted

    2. modify your HOSTS files so that reroutes to something else

  2. There’s an add-on called ShareMeNot, with the aid of which the browser I use foxily disables those awful “share” buttons on any web page. Pure Bliss.

    You’ll need to investigate whether it is available for the particular browser you use. If not, there may be similar alternatives.

  3. Leo, why on earth would you say this is “impossible”? At worst, it is difficult for the average user.
    Look at the other comments before mine; they have some good points. The hosts file is one way to do it. Some home routers allow a block list. Some parental control software, and even firewalls, may even allow this.

    You normally give excellent advice but this article is 100% false.

    You’ll note I have a facebook Share button beneath my articles. None of the techniques listed will make it go away. The “Like” box to the right of that can be removed using hosts file manipulation, but I’m not talking about that – this is the SHARE button to the far left on below every article.


  4. @Benjamin,
    I am a web designer and I can put Facebook on a webpage in a way that no one can get rid of it. All I have to do is put an actual graphic on a page in the shape of an “f” and link it to a Facebook page. You can’t get rid of it other than to put a piece of tape over your screen. Some ad-blockers may work on some pages… but not all.

    The point is that Leo is absolutely right – not only can you not get rid of it 100%, but letting it stress you out is a complete waste of stress!

    Actually there is one way to completely get rid of Facebook… that would be to never go online. Just stay off the internet. That goes for Facebook and whatever new things may actually pop up this year – things that become popular by the vote of the people.

  5. “You don’t have to use [a Facebook login] if they provide an alternative. You don’t have to use a Facebook login if you can login in other ways. It’s just an option – a convenience for the millions, and millions of people that are using Facebook.”

    Unfortunately, more and more pages don’t offer an option. It’s Facebook, Twitter, Disqus, or whatever else they allow, or you just can’t log in.

    People complain about privacy, and then give their life stories to people they know will use the information in whatever way makes the most money, privacy be hanged. Yep, the sheeple have voted, and if you don’t like it, you may as well command the tide not to rise.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.