So I have a problem with distractions on a macbook. I am hard at work (in emacs) and then I need to look something up. I go to my web browser (Chrome) find the information I need, and half an hour later I realize I'm reading up on the actions Mueller is taking to [subvert the will of the people / save American Democracy]. I quickly get back to work.
So it would be useful if when Chrome is in the foreground some alert pops up after 5 minutes. Maybe a sound, maybe a dialog box. But something that brings me back to the moment and realize I'm wasting time.
I've set up things that block my access to particular websites or such, but I can't block all of these webpages without blocking access to information I need to get. So that's not the solution.
Is there a way to get some sort of alert to pop up every 5 minutes when Chrome has been in the foreground?