Don't think that'll help.
On the one hand I need my browser for some research when I'm stuck while learning and on the other hand I'll probably find a way around the app that's disabling my browser and then I'm back here to begin with. :D
Best thing would be something that just changes my password for some hours, logs me out and then changes it back after a previously specified timeframe :D
It's an exercise in self-control :)