Open VovaOneReal opened 1 year ago
Trying to figure out the bug on my own. Debugger reports that the blockedHosts
field in the config
object is undefined
. Same problem in background.js
.
I noticed that the condition here does not work correctly: an empty object is returned, which is taken as true and, therefore, further work with the object leads to errors.
I won't argue if it turns out that I'm displaying the Promise result incorrectly in the console.
What's wrong?
With the extension enabled on Firefox, none of the sites are blocked, even if the "Simple Site Blocker Enabled/Disabled" and "Current site Enabled/Disabled" toggle switches for that site are enabled.
How to reproduce?
Conditions for reproducing the bug.