futpib / policeman

Firefox extention for cross-site requests control (kind of RequestPolicy clone)
https://addons.mozilla.org/en-US/firefox/addon/policeman/
142 stars 11 forks source link

Have reject rules be stronger than allow #193

Closed 5boro closed 9 years ago

5boro commented 9 years ago

It would be nice if policeman would treat reject rules over allow rules, that way if a website is asking for a lot of sources you could just reject the unwanted sources and allow everything else.

For exemple in this picture every podcast is getting requested from it's own source, so I'd like to reject google analytics and allow everyhing else.

In the current state, allow everything takes over reject google analytics.

heforfree commented 9 years ago

in about:policeman#rulesets-manager disable "Reject any request" ruleset and it is change to allow any request then you must create rject rule. and even you can put it in blacklist ruleset (currently not fully working) https://github.com/futpib/policeman-rulesets

heforfree commented 9 years ago

and about screenshot i see you have temp rule,your reject rule dont work because order of ruleset you can reorder rulesets by drag and drop in manage rulsets in preferences of policeman