-
All replies
-
Helpful answers
-
Nov 22, 2015 6:06 PM in response to the-real-oneby Trey Yancy,Hurling insults at me, too, and making them personal?
What purpose does this serve?
-
May 5, 2016 11:52 AM in response to Trey Yancyby sbuntingudel,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.
-
Jun 7, 2016 1:48 AM in response to JonasKBby Debbie Sc,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.
-
Sep 9, 2016 4:20 AM in response to --KaOZZZ--by goldenblue,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"
-
Sep 13, 2016 10:24 AM in response to --KaOZZZ--by jeffrey1701,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.
