Facebook is one of the most frequently blocked websites on the Internet, with many schools, businesses, home users, and even governments choosing to block it for various reasons - sometimes for censorship purposes, as China does, but more commonly for safety and productivity purposes.
Fortunately, there are many ways to block Facebook from being accessed on your Mac, whether it be yourself, your children, or your employees that you're trying to keep off it. All of the methods listed in this article are free and carry little risk of screwing up your computer, so read on to find out how to yank that annoying site once and for all!
Table of Contents
Method One: Use The Parental Controls Built Into macOS
The easiest and most simple way to block Facebook on your Mac is to utilize the parental controls that are built into macOS. Requiring the administrator's password to edit, you can be sure that FaceBook will be blocked in all browsers if you choose to use this method.
The only disadvantage is that you cannot apply it to the administrator's account - only other non-admin accounts. This means that you probably won't want to block Facebook this way if it's you or your employees you want to get off it unless you're fine with banishing yourself/them to a non-admin account.
If you've got a kid you want to stop wasting away time on Facebook however, this method should work great (especially if the Mac is a family computer and each person has a different account). So to set up your Mac's parental controls to block Facebook, follow the steps below (PS: make sure you're logged into the admin account when you're doing this).
- Click the Apple symbol in the top left corner of your Mac's screen and select 'System Preferences.'
- Select the Parental Controls preference pane
- The lock you see in the left corner of the window, click that and enter your password.
- Select the user which you want to enable restrictions for.
- Up the top of the window, there should be several tabs. Click on the "web" tab.
- Now Select 'Web.' This lets you limit access to websites from any browser.
- Hit the "Customize" button, and another window will pop up with two boxes. In the bottom box (labeled "never allow these websites"), use the + button to enter the following URLs: https://www.facebook.com, https://facebook.com, http://www.facebook.com, http://facebook.com.
The reason why you have to enter all four of those URLs when you only want to block facebook.com is that Internet filters mostly treat the HTTP and https versions of websites as entirely different sites, as they do with URLs that have/don't have www before them. Many a school IT department has blocked just one of those four, only for someone to come along and circumvent the block by using any of the other three!
Anyway, click "OK" once you've entered all those URLs, and Facebook will be BLOCKED entirely on the account you selected. When someone on that account tries to go to facebook.com, either directly or via Google, they'll see this:
Method Two: Stop Facebook From Showing Up In Google Search Results
Since pretty much everyone (especially kids) knows the URL "facebook.com," stopping the social networking site from showing up in Google's search results shouldn't hinder most from accessing it. On top of that, you have to be using Chrome for this to work (well, it *can* be done on Firefox, but it's more complicated. click here for more information).
Nevertheless, it is an excellent addition to other blocking measures and can keep young children from finding out about Facebook for a while (it won't work for long, though). So follow the steps below to block Facebook from appearing in Google search results in Chrome.
- Download the "Personal Blocklist" extension for Chrome, here.
- Search "Facebook" on Google, and on the results page, you will notice a little "Block facebook.com" link underneath the Facebook search result (as illustrated in the image below). Click on it.
Done! Facebook.com will now be yanked from all Google search results when using Chrome - if you search up the site now, it merely will not be there. That's bound to puzzle a few people.
Method Three: Use SelfControl To Limit Access To Facebook
If you want to block Facebook permanently, then this method isn't for you. However, if you wish to put time aside where Facebook can't be accessed, then the SelfControl app might be just the ticket! It allows you to block a specific website or websites for a particular amount of time.
So if you want to work on a project for two hours without being able to access Facebook, for example, you can open up the SelfControl app, set the timer for two hours, and you will not be able to access the site on your Mac for those two hours. It doesn't matter if you reboot your Mac, quit the app, or even delete the app. The blocked site(s) will only be unblocked when the time limit expires. The minimum limit you can set is 15 minutes, while the max limit is 24 hours - so if this sounds like it'll be helpful to you, read on!
- Download the SelfControl app: https://www.macupdate.com/app/mac/31289/selfcontrol
- Open the app, and in the window that comes up, click the "edit blacklist" button.
- Add the following to your blacklist: www.facebook.com, facebook.com, 127.0.0.1, login.facebook.com, www.login.facebook.com.
- Shut the blacklist window now and drag the slider in the main window to the amount of time you want Facebook to be blocked on that computer. You can set it for a min of 15 minutes and a max of 24 hours.
- Press Start, and you're away!
Method Four: Use Standard Website-Blocking Plugins
There are plugins available for most major browsers that allow you to block specific websites from displaying in them. However, since they are mere plugins, they can be switched off reasonably easily without an administrator password. Nevertheless, these plugins are worth mentioning if you want to block Facebook on your Mac.
Once you've installed the relevant plugin for your browser, configure it to block facebook.com and login.facebook.com, and you shouldn't be able to view Facebook in that browser. If you can still access it, try to block both the HTTP and the HTTPS version of the site - some of the plugins block both automatically, but some may not.