The "bad habit" is poor impulse control and failure to control focus. That's something that is so central to ADHD that all I can ever really hope to do is mitigate it.
Sometimes having 50 tabs open is a sign that I'm distracted and sometimes it's a sign up being really productive. All I can hope to do is make sure that the needle swings to the latter more often than the former and that I have a good strategy to recover when it doesn't.