Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to block specific websites on Safari Mac?

Hi does anyone know how to block specific websites on Safari for Mac???


I don't want the traditional way through parental controls on system preferences ,,, is so tiring to use since I'm the only user... I just want some web pages out of the way! Does Apple have a way to do this on Safari 7.0.1 ___ maybe something similar to Safari on iOS ,,, please let me know! If not is there an app for this purpose? ... but do not tell me: K9 web protection by blue coat please ... that is pure junk... so please some small info will help thanks!

MacBook Pro, OS X Mavericks (10.9), 13-inch, Early 2011

Posted on Jan 18, 2014 12:18 AM

Reply
Question marked as Best reply

Posted on Jan 18, 2014 9:40 AM

I don't want the traditional way through parental controls on system preferences ,,, is so tiring to use since I'm the only user

There is no other way if you lack the self-disciplin of a normal adult to not go to that web page.

38 replies

Jul 3, 2015 3:42 PM in response to --KaOZZZ--

This must be about hidden URLs which load without you wanting when you hover near them unawares


Someone wrote the best answer in a WikiHow. I'll give the link to that. But first, he got it slightly wrong, so I'll write the corrected answer here first


No new software required. You must use your terminal shell. It does not hurt

go one directory below applications to service programs? On my computer Dienstprogramme. You want Terminal

It's a nice bash shell. Edit a file called /etc/hosts


$ sudo vi /etc/hosts


add a new line below all the others giving the loopback address and the COMPLETE site address you want to block


127.0.0.1 www.********.com


write your edit away. You don't need to boot but the man said clear your DNS cache


$ sudo dscacheutil -flushcache


his explanation leaves off www. and it didn't work for me until I put that on. However I am duty bound to give his URL, since he gave me 99% of the answer, thank you sir


http://de.wikihow.com/Eine-Webseite-in-Safari-blockieren

Sep 23, 2015 5:34 PM in response to --KaOZZZ--

There is a new malicious scam site that invades Safari and pops up an ad that won't go away, no matter if you click Stay or Leave.

DO NOT CLICK THIS: http picfsff jordanschultzhasasmalldick-andruns-tech-support-mobilemadhatter com

You can try to block it via Terminal manually - one site at a time.

Unfortunately Apple does not have a protective measure for Safari to block unwanted hack sites, unless you use a parental control account.

Admin account has no protection and will always be a target for malicious hack site attacks.

Way to go, Apple!

Thanks for nothing.

Nov 21, 2015 11:30 AM in response to Klaus1

Perhaps if you had the open-mindedness and compassion of an educated adult you would know that there actually is a way to block specific sites. Part of learning to stop visiting certain sites is to condition yourself that certain sites are bad. One way (and also extremely efficient and effective) of doing this is reminding yourself that the site is bad every time you visit it, because a lot of times people will go from website to website unaware that they've fallen back into the same pattern of behavior. If you block the site and prevent yourself from accessing the site enough times, eventually you can develop self-control. As well, it begins the train of self-control that these people can apply to other areas of life as well. I'm sad that your instinctual response to this person's plea for help was to not help them and to assume they're some kind of inferior being.

How to block specific websites on Safari Mac?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.