httpswitchboard icon indicating copy to clipboard operation
httpswitchboard copied to clipboard

When enabling 'auto whitelist' cannot disable per-site

Open insanitybit opened this issue 11 years ago • 1 comments

So if you enable the 'auto whitelist first party domain' rule you can't go to a website, unwhitelist the domain, lock it, and then have it persist. If you reload that domain will be whitelisted again.

I think the expected behavior of the user is that the domain would be whitelisted upon first visit, but not be some permanent setting.

insanitybit avatar Apr 04 '14 14:04 insanitybit

Problem is that a "graylist" state is represented internally by the absence of rules, the default state of all cell. Thus un-whitelisting is essentially the removal of a rule, which put back the cell in its default state -- this is also why there is no visual at all for the persisted state of a graylisted cell.

In short, at this point I don't know how I would solve this issue. Need to think more.

Edit: Was there a scope in this particular case? If there is a scope, I can envision a solution where an internal switch per-scope would allow to disable auto-whitelist just for that particular scope.

gorhill avatar Apr 18 '14 19:04 gorhill