I edit my /etc/hosts file and send domains that I've realized I'm addicted to (ahem, lichess) to 0.0.0.1
This gives enough friction to the point, when I muscle-memory type the URL in a browser, and get an unreachable error... after a while I learn to just... break the habit.