Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Preinstalled rulesets description

futpib edited this page Jan 24, 2015 · 14 revisions

Default

This ruleset allows absolutely necessary requests going under the hood, Policeman won't disable it.

Compatibility and workarounds

Contains some compatibility fixes. Disabling it may break other add-ons and some web-sites.

Allow from file to file or web

Allows requests from local files (file://... urls) to other local files and to any web destinations. If you disable it, saved web pages may not work properly.

Persistent rules added by UI

This ruleset holds rules you can add via popup or preferences page.

Temporary rules added by UI

This is like a previous one, but rules you add here are removed on Firefox restart. "Suspend on this tab" also belongs here, unlike it's global counterpart (namely "Suspend operation") which is more like an off switch (it really applies earlier than any ruleset).

Same site

Allows requests to domain same as the origin domain and to it's subdomains. All of the following are allowed by this ruleset:

  • from x.y.z to x.y.z
  • from x.y.z to w.x.y.z and so on
  • from www.y.z to y.z
  • from www.y.z to x.y.z and so on

Same second-level domain (Policeman < 0.19)

Allows requests to same second-level domain as the origin domain and to it's subdomains. All of the following are allowed by this ruleset:

  • from y.z to a.y.z
  • from y.z to b.a.y.z and so on
  • from x.y.z to a.y.z
  • from x.y.z to b.a.y.z and so on

Same base domain (Policeman ≥ 0.19)

Allows requests to same base domain and to it's subdomains. Almost the same as above but all the co.uk-like domains are handled properly.

Reject any

Rejects anything at all. Set this as your last ruleset, and policeman behaves like a whitelist (default).

Allow any

Allows anything at all. Set this as your last ruleset, and policeman behaves like a blacklist.

"Reject any" and "Allow any" are special in a sence that one of them has to be enabled and has to be the last one.