Yeah, it was prevention - to my knowledge there wasn't a comparable internet-blocking feature in Android at the time. I have a dumb phone from way back that I switched to, and I shut off my smartphone. For desktop, it was primarily site blocking extensions like Block Site, and willpower to develop a habit. I'd still use the internet for things like banking and - since I was re-studying CLRS - SO and reference collections, but I trained myself to a hard cutoff of not using it besides the purposes I switch it back on for. The rest is on paper: my books are physically with me or loaded on an e-reader.
I should clarify that I had taken last year off to recover from burnout, and I was freelancing. I think that helped a lot with being able to detach for that long.
How are they supposed to refer to a woman then? ~wo~MAN?