Never used it or any software like it, but if you really want something like that, there's plenty of free/open source apps that will block things.
Cold Turkey is one, there's plenty of others too. Won't comment on how good they may or may not be as I've never used any of them.