Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you block websites on Safari?

share|improve this question
aer you looking to block just a single site, or a whole bunch of sites? The solution could be different depending on your situation. – Stu Wilson Oct 15 '12 at 7:38
Why was the question downvoted - I could see a user wanting to use this to deal with popups/popunders - which without some of the neat add ons to other browsers is a problem in safari. – Danny Staple Oct 15 '12 at 10:21

You can add an entry to your /etc/hosts file. For each site you want to block, add a line at the bottom, in the form:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.