I was still tempted to waste time on my laptop, so I turned off every functionality (i.e. javascript) on pages I was visiting, and I added custom rules on adblock, so it's too many steps to enable everything again. On pages I wanted to visit (Linkedin due to messages from recruiters) I added restrictive custom adblock rules that only allow accepting invites and replying to messages.
I noticed I was becoming badly addicted to reading news and watching videos, also to chess. And somebody here adviced just to cut it off. It was good piece of advice.