MacOS – How to irreversibly prevent Safari from being used for web browsing

macosparental-controlssafarisafari-extensionsweb-browsing

I have a content blocker set up just the way I want it as a Firefox extension, but I've recently been cheating by switching over to Safari. I want to reclaim distraction-free browsing but after an exhausting effort I can't figure out a good way to "break" Safari 13 on Mojave.

Rootless won't permit uninstallation (nor do I see that being advisable).

I tried using Gatekeeper to prevent Safari from being launched. Supposedly

sudo spctl --add --label "BlockedApps" /Applications/Safari.app
sudo spctl --disable --label "BlockedApps"

should have done the trick, but some have reported this trick doesn't work and indeed it did nothing to stop Safari from launching.

I got my hopes up with WasteNoTime only to find such extensions aren't supported by Safari anymore.

Apps like Cold Turkey are overkill, since I only want to prevent web browsing using Safari. Apps like 1Focus aren't powerful enough. Foiled at every turn. Is there a trick to "breaking" Safari?

Best Answer

Enable parental controls in System Preferences and black list Safari on Mojave and older. On Catalina it’s called screen time, but you can blocks apps like a safari there as well.

If you need the high security option, get the self control app. Warning, you will not be able to use the internet or blocked sites until the time you enter passes. If you mistakenly choose one day rather than one hour (or worse), you will have to erase your Mac or wait for the time to expire.