firewall di Jirka Justra
[č]Allows website requests filtering and header alteration --- icon from: Martz90 http://martz90.deviantart.com/art/Hex-Icons-Pack-389706981
Devi utilizzare Firefox per poter installare questa estensione
Metadati estensione
Screenshot
Informazioni sull’estensione
[manual]
Requested resources have origin url (site's address) and target url.
Default origin is set to .* (all sites).
Please note, that there cannot be used semicolon in text tokens, because it works like line breaker
and asterisk as first character of word (it translate variable name to its value).
When this is needed, please use base64 version of value and b64d (base 64 decode) function
in program (see example).
- request blocking -
Firewall works by testing currently loading site's url (origin) against url-reg-exp
given in command origin. If it matches, then ALL rules of given set will be tested
one by one. Every rule can decide if target is allowed or blocked. At the end,
final result of those iterations is used.
- header alteration -
Header alteration rules are evaluated immediately.
/commands:
origin url-reg-exp - create new rule set for given url (regular expression form)
disable - disable current rule set
block url-reg-exp - add blocking rule for target url (blacklist)
allow url-reg-exp - whitelist all that matches
requestHeader Header-Name [value] - alter request header value for current origin
responseHeader Header-Name [value] - alter response header value for current origin
(if value is omitted, header is discarded)
/example:
# discard all X-Frame-Options headers on all loaded sites
responseHeader X-Frame-Options
# block [anything].google(-analytics, etc.) on steam
origin steampowered
block \.google
# semicolon usage
origin mozilla\.org
block \.png; block \.svg; block \.css
# using previous origin (mozilla.org)
# allowing \.css again
# base64 for \.css is XC5jc3M= ... in dev console: btoa('\\.css')
b64d XC5jc3M=
allow *
Requested resources have origin url (site's address) and target url.
Default origin is set to .* (all sites).
Please note, that there cannot be used semicolon in text tokens, because it works like line breaker
and asterisk as first character of word (it translate variable name to its value).
When this is needed, please use base64 version of value and b64d (base 64 decode) function
in program (see example).
- request blocking -
Firewall works by testing currently loading site's url (origin) against url-reg-exp
given in command origin. If it matches, then ALL rules of given set will be tested
one by one. Every rule can decide if target is allowed or blocked. At the end,
final result of those iterations is used.
- header alteration -
Header alteration rules are evaluated immediately.
/commands:
origin url-reg-exp - create new rule set for given url (regular expression form)
disable - disable current rule set
block url-reg-exp - add blocking rule for target url (blacklist)
allow url-reg-exp - whitelist all that matches
requestHeader Header-Name [value] - alter request header value for current origin
responseHeader Header-Name [value] - alter response header value for current origin
(if value is omitted, header is discarded)
/example:
# discard all X-Frame-Options headers on all loaded sites
responseHeader X-Frame-Options
# block [anything].google(-analytics, etc.) on steam
origin steampowered
block \.google
# semicolon usage
origin mozilla\.org
block \.png; block \.svg; block \.css
# using previous origin (mozilla.org)
# allowing \.css again
# base64 for \.css is XC5jc3M= ... in dev console: btoa('\\.css')
b64d XC5jc3M=
allow *
Valuta la tua esperienza utente
Sostieni lo sviluppatore
Sostieni il mantenimento e l’aggiornamento di questa estensione con una piccola donazione allo sviluppatore.
PermessiUlteriori informazioni
Questo componente aggiuntivo necessita di:
- Accedere ai dati di tutti i siti web
Ulteriori informazioni
- Link componente aggiuntivo
- Versione
- 1.1.1resigned1
- Dimensione
- 101,24 kB
- Ultimo aggiornamento
- 8 mesi fa (25 apr 2024)
- Categorie correlate
- Licenza
- Licenza MIT
- Cronologia versioni
- Etichette
Aggiungi alla raccolta
Altre estensioni di Jirka Justra
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni
- Non ci sono ancora valutazioni