I use SelfControl for website blocking on Mac. It works perfectly for me, and it is free. SelfControl blocks websites for a certain amount of time across all browsers. Even if the computer is shutdown and restarted, the app still blocks the websites. Also, there is a whitelist feature if you would only like to be able to visit certain websites.
Glide CV
Discover HaxeFlixel