If I actually want to go to one of those sites I just edit the hosts file and comment out the redirect line.
On my mac, the /etc/hosts file looks like:
# #
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 news.ycombinator.com twitter.com www.facebook.com reddit.com
127.0.0.1 mail.google.comThat is a great idea, but what do you call it when I do not want to do it because I start thinking about all the awesome things I could have done in my life if I started doing that earlier?
Last week I sat down with a notebook and wrote down my thoughts about what all my problems in life boil down to, how I should deal with each of them, what my next actions are... And then I noticed I was using an old notebook and on the first pages I had written almost the exact same things, in 2011.
Except I was much more stressed about them then than I am now. Becoming wiser apparently means thinking the exact same thoughts as ever but being more relaxed about them.
During that time I think about what it is that I really want to be doing. After a while I automatically skip to this step without having the desire to refresh HN.
To the point that I sometimes do it in the middle of talking to people (while sitting behind my desk), who will point it out to me, and then I will close the tab. And then re-open it a few seconds later while still talking to them. ctrl-T O enter, for old.reddit.com. It's really a true habit.
There is an extension where you can limit the number of tabs you have open, I'm going to try that again. Limiting myself to 1 should lead to some conscious thought, after those keystrokes fail a few times.
You can limit your time on specified sites
I'm a Web developer with a mindless tic-like habit of opening sites like Reddit and HN all the time. Even a second after closing it. I can't very well get rid of Web browsers.
Edit: ohh, but the tip of going to a place where I've never procrastinated before and sitting down to think what I actually want to do next, that doesn't involve a Web browser. Nice.