Too much of my day looks like this:
I sit down in front of the computer to do some work. I think:
"Before I begin, let's check HN real quick if there is something interesting on the frontpage. Probably there is not, so I'll start my work in a minute."
Half an hour later, I realize I went down some interesting rabbit hole of information or joined a discussion.
Now I need a break from the computer. I stand up and do some other stuff.
20 minutes later, I come back to the computer to do some work. I think: "Before I begin, let's check HN real quick ..."
What is this problem called? Is it typical procrastination?
Just a tip that may or may not be helpful for you:
I have personally gone through periods where I am extremely unproductive due to that exact process. For years I tried to fix it: using web extensions to limit the sites I can use, pomodoro, removing autocomplete results so I don’t enter a website through muscle memory, etc.
Results, however, were mostly temporary and not really successful in the long term.
What did work for me, as suggested in a book, was really thinking about myself, taking notes, and trying to find a pattern of what times in my life procrastination comes back in full force.
What I found out is that these periods happen whenever I'm avoiding a specific task, no matter how unrelated to the job at hand. So for example, if I need to have a difficult conversation with a partner and I start putting it off, that triggers my avoidant behaviour and I won't get anything done at work or in personal projects until I face the issue. Then the behaviour gets magically resolved and I feel super productive again.
Things that have triggered avoidance so far are as big as making up with a friend after an argument, and as small as having to go through phone customer service to solve an issue with my phone carrier's bill.
So I'd recommend you to stop and ponder for a moment if there's any important unrelated things you've been avoiding.