I made this out of necessity. I just cant stop switching tabs while I must be doing something else!
And I have found a lot many people who have faced this. What about you?
I had tried blockers like Cold Turkey, Freedom and RescueTime but they lack a lot many features I wanted. They leave you dependent upon your will power, but Will Power is not just enough!
I tried to address the things which none other tool seems to eliminate. Key combinations, Mouse movements to switch tabs, leaving the full screen when temptation hits, etc.
I learnt a lot about Threading and UI design on the process, and finally forced myself to learn Figma.
Hope this helps, at least one person :)
I was in the same boat, I even blocked websites in the hosts file, but I found that I'm really creative with finding alternative distractions.
I realized that this is not a software problem that needs to be solved, but rather something with the task. What works usually is to find at least a minuscule part of the task that looks remotely interesting and that hopefully snowballs into the task getting done.
Also, activate deadline mode.