This Mac application has been around since 2014, but I found about it very recently. Focus is a very simple application to block distracting websites and other Mac applications.
What do you need to do?
Add the websites and other Mac apps you would like to avoid in the Focus preferences. You can schedule automatic Focus sessions or use it as a pomodoro timer.
Activate it just before you set into work. It is very simple.