How can I block specific websites in Safari?

Joined
Oct 14, 2007
Messages
408
Reaction score
0
Points
16
I want to block specific sites in Safari e.g. I don't want to block Reddit but just the specific sports pages on the site I waste time on. Is there an app to do that in Safari? I've looked online and can't find it.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
I'm not sure you can block specific pages of a website. I know there are several ways to block an entire website but it appears you don't want to do that. Perhaps one of our members will come up with something. Off hand, I can't think of a method to do it. But that doesn't mean there isn't a way to do it. ;)
 
Joined
Nov 1, 2007
Messages
1,251
Reaction score
80
Points
48
Location
Swansea - South Wales
Your Mac's Specs
21 M1 Pro 14" MBP, 23 M2 Pro Mac Mini (MacOS 14), iPhone 15 Pro Max (iOS 17), iPad 6 (iPadOS 17)
I use Open DNS. It's good at blocking specific sites and categories of web content. Whether you can combine the two to do exactly what you want to then I don't know. But it's free and easy to use so you could give it a go.

https://www.opendns.com
 
Joined
Jul 18, 2018
Messages
1
Reaction score
0
Points
1
Try this, hope it works:Launch the Terminal (Open Spotlight and search for the Terminal).After in Terminal type sudo pico /etc/hosts and press Enter. then Pressing enter, you will be asked to enter the Administrator Password.Now Once you enter Password, the Terminal text program will open on the host file. Scroll the cursor down to the bottom and press Enter. It will create a new line to type.Then Type the IP 127.0.0.1 followed by the URL or Site address. i.e: 127.0.0.1 Yahoo. And press Enter. Type another URL or Site following the same steps. Do not add more than one URL or Site in a single line, each entry should be in a separate line.Once you are done with the entry (the sites or URL, you want to block), press Ctrl + O and then Enter to save them and exit the editor.Then Flush your cache in order to take effect to the settings, type sudo dscacheutil -flushcache to flush your DNS and press Enter.

Now open the URLs or Sites you have blocked. If it is set up correctly you should not be able to open website/URL.
You can also try this method if your How to Block a Website on Mac.
Sourced from:
https://www.igeeksblog.com/how-to-block-websites-on-safari-on-mac-os-x-yosemite/
https://dailytechposts.com/block-website-on-mac/
 
Joined
Oct 16, 2010
Messages
17,526
Reaction score
1,560
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
After in Terminal ty…

The URL I provided in my #3 Post illustrates that method using Terminal.

One really doesn't want to make a mistake when using Terminal, it can produce some rather disastrous consequences and results if one makes a mistake. :Smirk:

But I hope the OP found a solution as their post is almost a year old now.







- Patrick
======
 
Joined
Aug 26, 2016
Messages
12
Reaction score
1
Points
3
I use the software- AppCrypt.

It can block any website in Chrome & Safari and lock apps on Mac.

But it's a paid program.
 
Joined
Jul 6, 2008
Messages
863
Reaction score
52
Points
28
You'll need it to be something that is password-protected and only known by someone else, otherwise, what's to stop you from simply unblocking the content at will when the temptation hits? ;)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top