There's also a StayFocusd[1] plugin for Chrome which will block sites for you.
I'm struggling with my own procrastination and it seems to be helping, although I find myself distracting myself via other means :-/
[1] https://chrome.google.com/webstore/detail/laankejkbhbdhmipfm...