proginosko / LeechBlockNG

LeechBlock NG (Next Generation) for Firefox is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
721 stars 66 forks source link

[Feature Request] Make circumventing "Prevent access to options" using browser dev tool harder #307

Closed gepz closed 11 months ago

gepz commented 1 year ago

Currently there is an easy way that takes only seconds to use browser dev tool with "inspect element" and "console" to modify and save any options of a locked block set, by locating and assigning disabled block set option inputs' state and value using the "inspect element" and "console" tool, which I discovered when trying to unlock block sets that I accidentally permanently locked.

It makes "Prevent access to about:addons at times" not quite as useful when there's an easy way to cheat within the option page.

I think it might be a good idea to make it more difficult by either, prevent saving changes of blocked options in the code, or have an option to straight up block the whole LeechBlockNG option page.