mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Dynamic filtering: rule syntax (markdown)
parent
2cd73d2e19
commit
14fafff72d
1 changed files with 2 additions and 2 deletions
|
|
@ -16,9 +16,9 @@ Type-based rules are used to filter specific types of request on a web page. The
|
|||
- 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".
|
||||
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 frames of all origins".
|
||||
|
||||
Another example: `wired.com * image block`, which means "block all images when visiting a web page on wired.com".
|
||||
Another example: `wired.com * image block`, which means "block images from all origins when visiting a web page on wired.com".
|
||||
|
||||
Note that with type-based rules, the destination hostname is **always** `*`, meaning "from anywhere".
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue