I've been using StayFocusd for this exact purpose for years.
As others have mentioned, there are rather a lot of extensions and apps that will selectively block distracting sites for you.
I could really use this ! but seems fine (get the nice inspirational quotes) with Chrome and Safari, but Firefox still is able to get through. I am typing this using Firefox 26 ...
I've been using an app called Concentrate (http://www.getconcentrating.com/) for probably 5 years that does the same thing, but it also lets you define apps and services to block (so for example, if I want to get really focussed, I block my Mail app so that I can't check it for the next hour).
I had the pleasure of working with Made By Rocket (makers of Concentrate) when I was a senior in high school (I was 17). Living alone in downtown Boise Idaho, working 40 hour weeks for two different startups, and finishing high school, man that was a rough year.
Concentrate is great, but I'm going for something a little different with Focus over the long-term. Hope to have more features out soon that make this clear :)
There's an older app called Self Control that does this but for a specified time window and cannot be disabled once it's started, including by rebooting. http://selfcontrolapp.com/
* blocks distracting websites (and arbitrary hosts so I can't SSH to my IRC bouncer!)
* starts playing some elected noise (either generated -- pink noise -- or pre-selected rain/ocean/etc.)
* blocks notifications (can the OSX notification stuff be set to DnD?)
* is a Pomodoro timer: will unblock everything by itself in 25min (or whatever time is elected)
Unfortunately, I don't have the time to make it :(.
I'm working on integrating some of this into Focus already, and plan on adding pre-focus & post-focus hooks to add your own custom functionality to cover everything else.
Should be out soon and the app is set to auto-update, so stay tuned :)
Just to add, I'd love the ability to block notifications as well (as possible with the built-in "non-distracted mode") except for a chosen few applications. For example, I'd like if iCal could still keep me updated on schedules via notifications.
Nice, exactly what I'm looking for. A few ideas for features:
More options in the filter preferences. How are wildcards handled and multiple domains?
A system-wide hotkey for turning on and off the distraction (I'm an avid Vim user and do a lot of text editing so I'd prefer not to use the mouse too much). Maybe even make it work together with Alfred.
Nice touch showing a motivational quote when you try to visit the blocked website.
I've been using Concentrate[1] so far with great results. It has a few more options (such as a growl message every X seconds) but no nice motivational quote for websites! :) Also – the first version is actually free (click the buy button).
I am using DNSCrypt from OpenDNS, but when I disable it, I still can't get Focus to work. I have Automatic Proxy Discovery and Automatic Proxy Configuration turned off in System Preferences -> Network, but turning these on didn't seem to work either.
Could you add a quick install guide with the required settings?
There's a great free Safari extension called WasteNoTime which does something similar without a proxy, and also has the added benefit of tracking the time you spent daily, weekly, or monthly across all sites (including non-blocked ones) so you can see which ones you need to block.
It would be cool if you could set a schedule for certain times to block sites (or time limits). There are various browser extensions for this, but it would be more effective on the system level.
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
I can't speak for all, but me, yes. It's just a visually very quiet area in the upper right, because most icons are black or greyscale. So it is slightly annoying if one of them is colorful.
I couldn't find a way to intercept SSL traffic that wasn't insecure (method I used was a custom root certificate), so opted for a broken connection instead.
I think the only way to do this securely is a browser extension which I was planning for a later version.
[+] [-] jaysonelliot|12 years ago|reply
http://lifehacker.com/5452620/stayfocusd-blocks-and-manages-...
Clearly, I have not added HN to my blocklist :)
[+] [-] Jasber|12 years ago|reply
Eventually my goal is to make Focus pretty extensible so you can run your own custom scripts on focus & unfocus. Hope to have some of this out soon.
[+] [-] Jasber|12 years ago|reply
If you're interested I did a little write-up here: http://bradjasper.com/blog/case-study-focus/
Also open-sourced it: https://github.com/bradjasper/focus
[+] [-] hakcermani|12 years ago|reply
[+] [-] 10feet|12 years ago|reply
Just one question, why is it so big? 1.8mb executable seems quite large.
Still, fantastic!
[+] [-] esusatyo|12 years ago|reply
[+] [-] james33|12 years ago|reply
[+] [-] Breefield|12 years ago|reply
[+] [-] unknown|12 years ago|reply
[deleted]
[+] [-] Jasber|12 years ago|reply
[+] [-] msy|12 years ago|reply
[+] [-] ralphc|12 years ago|reply
[+] [-] frio|12 years ago|reply
[+] [-] Jasber|12 years ago|reply
Should be out soon and the app is set to auto-update, so stay tuned :)
[+] [-] mad44|12 years ago|reply
[+] [-] robinhoodexe|12 years ago|reply
[+] [-] eddflrs|12 years ago|reply
[+] [-] robinhoodexe|12 years ago|reply
More options in the filter preferences. How are wildcards handled and multiple domains?
A system-wide hotkey for turning on and off the distraction (I'm an avid Vim user and do a lot of text editing so I'd prefer not to use the mouse too much). Maybe even make it work together with Alfred.
Custom messages for the blocked website.
[+] [-] Jasber|12 years ago|reply
[+] [-] unknown|12 years ago|reply
[deleted]
[+] [-] metabren|12 years ago|reply
I've been using Concentrate[1] so far with great results. It has a few more options (such as a growl message every X seconds) but no nice motivational quote for websites! :) Also – the first version is actually free (click the buy button).
[1] http://www.getconcentrating.com/
[+] [-] bicv|12 years ago|reply
I am using DNSCrypt from OpenDNS, but when I disable it, I still can't get Focus to work. I have Automatic Proxy Discovery and Automatic Proxy Configuration turned off in System Preferences -> Network, but turning these on didn't seem to work either.
Could you add a quick install guide with the required settings?
Thanks!
[+] [-] Jasber|12 years ago|reply
[+] [-] sneak|12 years ago|reply
[+] [-] Killah911|12 years ago|reply
[+] [-] _august|12 years ago|reply
Would it be possible to add exceptions to sites? For example, certain subreddits allowed only?
[+] [-] arikrak|12 years ago|reply
[+] [-] Jasber|12 years ago|reply
Should it just let you?
What happens if a client calls or an emergency happens and you need access?
Would love feedback from anyone who wants this feature.
[+] [-] coherentpony|12 years ago|reply
[+] [-] xerophtye|12 years ago|reply
Btw, just cursious:
>Do you have a grayscale icon? I don't like colorful icons in my menubar.
Wow, are all Mac users this... particular?
[+] [-] psteinweber|12 years ago|reply
I can't speak for all, but me, yes. It's just a visually very quiet area in the upper right, because most icons are black or greyscale. So it is slightly annoying if one of them is colorful.
[+] [-] charlesdenault|12 years ago|reply
[+] [-] Jasber|12 years ago|reply
I think the only way to do this securely is a browser extension which I was planning for a later version.
[+] [-] robinhoodexe|12 years ago|reply
[+] [-] treskot|12 years ago|reply
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
[+] [-] HaloZero|12 years ago|reply
[+] [-] chewxy|12 years ago|reply