Ask yourself this question.
Where are you now?
Where will you be tomorrow?
Where will you be in a month?
Where will you be in a year?
Now as yourself where you will be if you made the choice to spend an hour a day on task X. Where will you be?
Repeat every time you decide to open a new browser tab. It is a very slippery slope every time you unconsciously go to youtube, forums, etc. The first step is to become conscious of the time sucking activities.