Updated Dynamic filtering: rule syntax (markdown)

gorhill 2014-12-31 11:43:40 -08:00
parent fef7db6764
commit c16eff155b

@ -10,11 +10,11 @@ Source hostname always correspond to the hostname extracted from the URL of the
Type-based rules are used to filter specific types of request on a web page. There currently exists five types of request which can be dynamically filtered:
- images
- inline scripts
- 1st-party scripts: scripts which are pulled from the same domain name of the current web page
- 3rd-party scripts: scripts which are pulled from a different domain name than that of the current web page
- 3rd-party frames: frames elements which are pulled from a different domain name than that of current web page
- images (`image`)
- inline scripts (`inline-script`)
- 1st-party scripts (`1p-script`): scripts which are pulled from the same domain name of the current web page
- 3rd-party scripts (`3p-script`): scripts which are pulled from a different domain name than that of the current web page
- 3rd-party frames (`3p-frame`): frames elements which are pulled from a different domain name than that of current web page
These rules can apply everywhere, or be specific to a web site. For instance blocking 3rd-party frames is a very good habit security-wise: `* * 3p-frame block`. This rule translates into "block 3rd-party embedded frames everywhere".