--KaOZZZ--

Q: 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

Close

Q: How to block specific websites on Safari Mac?

  • All replies
  • Helpful answers

first Previous Page 3 of 3
  • by Trey Yancy,

    Trey Yancy Trey Yancy Nov 22, 2015 6:06 PM in response to the-real-one
    Level 1 (28 points)
    Apple TV
    Nov 22, 2015 6:06 PM in response to the-real-one

    Hurling insults at me, too, and making them personal?

     

    What purpose does this serve?

  • by sbuntingudel,

    sbuntingudel sbuntingudel May 5, 2016 11:52 AM in response to Trey Yancy
    Level 1 (4 points)
    May 5, 2016 11:52 AM in response to Trey Yancy

    This is a place to find help, not get insulted.  If you can't help folks and feel a need to lash out, go buy a punching bag or something... please...

     

    Anyway, go to /private/etc/hosts file.  I like to use TextWrangler for such edits instead of terminal editors.  TextWrangler is free and it is a fabulous tool.  It will ask you if it is OK to unlock the file to edit.  Certainly you do... You can see the format for how to make the entries.  When done, you save it and then you need to flush the active cache for this to take effect right away.  You do this from terminal.  You can skip the part  when I add a semi-colon and have it issue a voice command saying the task is completed.  Just type in:   sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

    Press enter...

    The above works for OS X 10.5 and newer.  If you have an older version, Google is your friend...

     

    What you are doing is this....  When your computer browser initiates a request for a web address, the host name (mackeeper.com for example) must first be resolved to an IP address (54.175.172.236 for example).  Your computer first looks to its DNS cache, the fastest possible lookup.  If not there, then it looks to the hosts file.  If there, then you are done.  If not, then it makes a query to the DNS server.  So, by flushing your cache and placing an entry in your hosts file, you then force the call for mackeeper.com or any in your list to simply direct the request back to your local machine.  Bam... pest removed..  After a while, they may re-appear under a slight variation of the name.  So you'll have to carefully watch the name that appears in the web address and then add it to your list. 

     

     

     

    WhackAMoleContinues.jpg

  • by Debbie Sc,

    Debbie Sc Debbie Sc Jun 7, 2016 1:48 AM in response to JonasKB
    Level 1 (4 points)
    Safari
    Jun 7, 2016 1:48 AM in response to JonasKB

    Self Control was easy to set up, and it works. Thanks for the link. Now I can get off eBay and get some work done.

  • by goldenblue,

    goldenblue goldenblue Sep 9, 2016 4:20 AM in response to --KaOZZZ--
    Level 1 (4 points)
    Sep 9, 2016 4:20 AM in response to --KaOZZZ--

    acutally, it's well explained here:

     

    https://www.igeeksblog.com/how-to-block-websites-on-safari-on-mac-os-x-yosemite/

     

    basically, you edit the /etc/hosts and put the domain names there to your localhosts ip address. Also, the parental controls are explain (I understood you don't want that) and the app you might be looking for is "self control"

  • by jeffrey1701,

    jeffrey1701 jeffrey1701 Sep 13, 2016 10:24 AM in response to --KaOZZZ--
    Level 1 (4 points)
    Sep 13, 2016 10:24 AM in response to --KaOZZZ--

    I installed a Safari extension called WasteNoTime that allows you to block websites individually and/or set timers limiting the amount of time you spend on those sites. Very handy so far.

first Previous Page 3 of 3