There are also browser extensions available to help with this, such as by forcing you to wait 30 seconds before a page on a given time-wasting site loads. Helps to break the instant gratification mechanisms that lead to destructive distraction.