SelfControl lets you block distracting websites for predetermined periods of time.
SelfControl is an OS X application which blocks access to incoming and/or outgoing mail servers and websites for a predetermined period of time. For example, you could block access to your email, facebook, and twitter for 90 minutes, but still have access to the rest of the web. Once started, it can not be undone by the application or by restarting the computer, you must wait for the timer to run out.
Tiger 10.4 and Leopard 10.5 compatible Feel free to make your own contributions to the code as well.
http://visitsteve.com/work/selfcontrol/