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

Add rules for compatibility with other add-ons #243

Open SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU opened 6 years ago

SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU commented 6 years ago
# Mozilla extensions
rules:
  unknown -> unknown:
    [scheme] moz-extension -> moz-extension:
      -> $&: ACCEPT
# AutoPager
  web -> internal:
    [scheme] (http|https) -> chrome:
      [host] * -> autopagerimg:
        [contentType] IMAGE: ACCEPT
# Multi-Account Containers
  web -> unknown:
    [scheme] (http|https) -> moz-extension:
      [host] * -> "hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh":
        [contentType] IMAGE: ACCEPT
# images
  file -> internal:
    [scheme] file -> chrome:
      [host] "" -> global:
        [contentType] IMAGE: ACCEPT
  web -> internal:
    [scheme] (http|https|ftp|ftps) -> chrome:
      [host] * -> global:
        [contentType] IMAGE: ACCEPT
# AdBlock, uBlock₀, Greasemonkey, etc.
  unknown -> file:
    [scheme] moz-extension -> file:
      [host] "hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh" -> "":
        [contentType] XMLHTTPREQUEST: ACCEPT
  unknown -> web:
    [scheme] moz-extension -> (http|https):
      [host] "hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh" -> *:
        [contentType] XMLHTTPREQUEST: ACCEPT

where hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh is GUID of extension.

SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU commented 6 years ago

You can still publish the update for the old version of the browser (version 56, for example) to addons.mozilla.org: for example, recently released Cookies Exterminator version 2.9.2.