what I've been doing for the last 3 or 5 years (in Firefox, which is the browser under discussion in this submission) is setting the following to false:<p>browser.urlbar.autocomplete.enabled<p>browser.urlbar.suggest.bookmark<p>browser.urlbar.suggest.history<p>it does not literally stop me from typing in for example "news.ycombinator.com", but it makes it so that I have to type every last one of those 20 characters, which leaves enough time between my (impulsive) decision to act and my (fast and nasty) reward to prevent most instances of procrastination.<p>(then I put frequently-accessed URLs that do not cause procrastination on the Bookmarks menu and the Bookmarks toolbar.)
If you find yourself just turning this extension off or undoing the edits to your host file, you should try <a href="http://selfcontrolapp.com/" rel="nofollow">http://selfcontrolapp.com/</a> for OSX, which blocks URLs for a specified period of time without the ability to unblock them.
It is open source, so in theory you could presumably go source diving to find a way around it, but that would take more effort and focus than doing whatever you are supposed to be doing.<p>Also, if you find yourself desperately needing this, consider the possibility that you may want to get more/regular sleep, exercise, and better food. "Sleep is for the weak" is a load of horseshit. Your brain is a part of your body and you should take care of both. This got me through the last parts of undergrad and I am very grateful to the maintainers, but I wish I'd not needed it.<p>EDIT: there is apparently an app <a href="http://getcoldturkey.com/" rel="nofollow">http://getcoldturkey.com/</a> for windows. I've never tried it though.<p>Also, Momentum for Chrome is a good replacement for the "recent pages" new tab screen: <a href="https://chrome.google.com/webstore/detail/momentum/laookkfknpbbblfpciffpaejjkokdgca?hl=en" rel="nofollow">https://chrome.google.com/webstore/detail/momentum/laookkfkn...</a>
I've tried several tools similar to this, and they're all coming from the right place. But..<p>1) being told that this isn't the time to do something doesn't change that I feel it's time to do something. It just annoys me.<p>2) There's no substitute for simply making the choice to not go to those distracting web sites.<p>Distractions abound, but in my experience I've found that looking to technology to solve what is fundamentally an error in my thought process is a mistake. Changing the thought process isn't the easy way to go about it but it is ultimately the only way that's going to be effective in the long term.<p>Tools like this don't help much with that process[1]. Instead they provide [again, in my experience] a band-aid that helps cover the wound, so to speak - they let me avoid seeing that I needed to make changes.<p>[1] one benefit they do provide is to make you more aware of what you're doing.
Related: <a href="http://blog.xkcd.com/2011/02/18/distraction-affliction-correction-extensio/" rel="nofollow">http://blog.xkcd.com/2011/02/18/distraction-affliction-corre...</a><p>I briefly used RescueTime's functionality for this. Eventually I actually settled on a separate browser profile for distracting sites. Basically, on my work Chrome, I only have productive sites, am not logged into any distracting services, or anything like that. I can use Chrome's user switching to open my "distracting" session, but the extra effort to do that helps me maintain focus.
Leechblock works very well for this: <a href="http://www.proginosko.com/leechblock/" rel="nofollow">http://www.proginosko.com/leechblock/</a><p>It counts how long you are on an "illegal" website and only blocks when you exceed the limit.<p>It's fully customizable for timelimits and method of blocking.
I like the idea. I find blocking websites with my host file being the best tool for protecting myself against distraction.<p>It would be pretty neat if this was a website that I could point my blocked domains to