How do you open your web browser? If it's an icon, delete it off your desktop. If it's a keyboard shortcut, disable it.
Whenever you hit this minor friction with opening your browser, take a moment to assess where you are and what you're doing. Become aware of your intentions.
For example, my browser supports accelerators for opening websites. I can replace an accelerator for the site which eats my time (e.g. reddit) with one which makes me more productive (the write new post page of my own blog)
It will never be a "set it and forget it" strategy, however. You are only setting yourself up for it to be easier to make better choices, as well as habituating making better choices, but you have to continue making them one at a time, day in, day out.
I hope this helps you get on your creative path and self-actualize in the way you find most suitable.