You can try LeechBlock. It works as plugin in all browsers.
First thirty seconds are the worst for will :)
So it is better to ask a relative/friend/parent/spouse to set up a password for you - then you cannot unblock the sites back again without them.