This is why I recommend editing the Hosts file on your Mac, using Terminal. Yes, it looks a little intimidating, but once you get the hang of it, you’ll have banned those websites across all browsers, and doing so without relying on a plugin that may lose support when its developer grows tired of updating it. The below steps were performed on a MacBook Air running macOS High Sierra (10.13), but they should work the same on all Mac from the last decade or so.  MORE: Which MacBook Should You Buy? MacBook vs. Air vs. Pro

  1. Click the magnifying glass in the top right corner. If it’s not there, hit Command+Space. 2. Type “Terminal”
  2. Select Terminal. 
  3. You’ve reached the command line, it’s a little intimidating, but don’t worry.
  4. I’m going to give you a series of commands to type in, and each will have quotation marks on the front and back, which you should ignore.
  5. Type in “sudo nano /etc/hosts”
  6. Hit Return.
  7. Type your system admin password.
  8. This is the host file database, tap the down arrow to move your cursor below the line that says “127.0.0.1 localhost”
  9. Type in “127.0.0.1 " and then the address of the site you want to block, making sure to keep a space between the numbers and the address. For example, “127.0.0.1 facebook.com” will block Facebook.
  10. Hit return.
  11. Type in “127.0.0.1 " followed by that address with the “www.” prefix in front of it, for extra measure. For example, “127.0.0.1 www.facebook.com”
  12. Hit return.
  13. Click Control + O to save your change.
  14. Click Return.
  15. Click Control + X.
  16. Type “sudo dscacheutil -flushcache”
  17. Hit return. Now, when you open that website, in any browser on that Mac, you’ll get a message that says you’re unable to connect. 

macOS Guide

Previous TipNext Tip

How to Password Protect a Folder in a MacHow to Force Quit or Close Frozen ApplicationsMove Your Mac files to a Windows PCHow to Dual-Boot Windows and macOSIncrease the Text Size on Your MacInstall or Uninstall Mac AppsHow to Eject USB Devices and Memory Cards in macOSSwitch Between Open Apps in macOSHow to Unlock a MacBook with Your Apple WatchClean Out Your macOS LaunchPadHow to Use Trackpad Gestures to Navigate macOSHow to Use Right-Click in macOSUse Siri on Your MacHow to Customize the Notification CenterAdd a Signature to PDFs with Mac PreviewUse Memories in the Photos App on MacHow to Use Night Shift in macOSHow to Change Your Mac’s PasswordHow to Edit Siri’s Activation Keyboard Shortcuts on macOSChange Views in FinderUse macOS Dark ModeTransfer Files with AirDropHow to Use Mission Control on a MacUse Optimized StorageHow to Enable Parental Controls on a MacHow to Mark Up PDFs in macOSBack Up Mac with Time MachineHow to Use Dictation on a MacHow to Use the macOS FeatureUse Apple Pay in macOSHow to Block Websites on Your Mac