Blocking unwanted and annoying websites on Mac can...
- keep your children from visiting adult content.
- keep yourself from wasting time in visiting websites that makes you unproductive.
- Go to > System Preferences...> Parental Controls.
- Choose Create a new user account with Parental Controls, and then click Continue.
- Fill out the fields for the user account creation, and then click Create User.
- Select Try to limit access to adult websites, and then click Customize....
- Click the plus (+) icons so you can add websites to allow or block access.
- Open Utilities.
- Select Terminal.
- Back up your hosts file:
- Type sudo /bin/cp /etc/hosts /etc/hosts-original in the Terminal window, and then press the RETURN key.
- Type your Administrator Password, and then press the RETURN key. The cursor will not move from its position as you type your password.
- Type the command sudo nano -e /etc/hosts in the Terminal window, and then press the RETURN key. This will open the hosts file.
- Using the arrow keys on your keypad, go to the bottom of the line. Type 127.0.0.1 and the website address you want to block.
- Once you’re done adding the website address you want to block, press Command ⌘ + O on your keyboard to save the file, and then Command ⌘ + X to close the file.
I have Antivirus One installed
Antivirus One provides the easiest way to block websites on your Mac. With just three simple steps, you can block websites easily and effectively:
- Open Antivirus One.
- Click on the Web tab, then click the icon of the Websites on black list will always be blocked. option.
- Type the website you want to block inside the field, then click Add.
Free Tool to Block Websites
Use Trend Micro Family for Kids - Safe Filter to filter out explicit content on the Internet.