Jump to content

Workflow to block domains?


Recommended Posts

Hi all, first post here. I loved Alfred and since workflows looks so powerful I was wondering if you could give me a hand creating one to block certain domains when triggered. I currently use this app to do it, and I basically managed to reproduce every functionality it has with workflows (which I think is amazing) except domain blocking.

 

Say I want to block:

  • twitter.com
  • reddit.com
  • facebook.com

How should I do that? I did a little research on the topic and editing the hosts file looks dangerous and is mostly advised against, I have no idea how Concentrate does the job.

 

Thanks, here's a GIF of a sloth for the trouble.

Link to comment

Editing the hosts file is the only way I can think of to do this right off. While it does create some issues, they could be managed. It would also prob require modifying the sudoers file which opens up potentially security issues. So.. This CAN be done and can be done with the hosts file but I actually wouldn't recommend it. A proxy may be an easier way

Link to comment

Editing the hosts file is the only way I can think of to do this right off. While it does create some issues, they could be managed. It would also prob require modifying the sudoers file which opens up potentially security issues. So.. This CAN be done and can be done with the hosts file but I actually wouldn't recommend it. A proxy may be an easier way

I see, thanks for the reply and for all the other workflows you make :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...