1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-03 02:37:21 +02:00

Added "List of uBlock dynamic filtering translated to static filters"

garry-ut99 2024-05-25 10:29:46 +00:00
parent 568e240906
commit 930655194c

@ -83,3 +83,29 @@ A matching rule can do one of three things:
- Thus they are most useful to create finer-grained exceptions, and to un-break websites broken by some static filters somewhere.
- `noop`: exclude network requests from being subjected to dynamic filtering.
- It cancels dynamic filtering, but it does not cancel static filtering.
***
### List of uBlock dynamic filtering translated to static filters
| hostname & type |local dynamic filtering|local static filters|
| - | - | - |
|all:|`github.com * * block` |`*$domain=github.com` |
|images:|`github.com * image block` |`*$image,domain=github.com` |
|3rd-party:|`github.com * 3p block` |`*$3p,domain=github.com` |
|inline scripts:|`github.com * inline-script block`|`\|\|github.com^$inline-script` |
|1st-party scripts:|`github.com * 1p-script block`|`\|\|github.com^$script,1p` |
|3rd-party scripts:|`github.com * 3p-script block`|`*$script,3p,domain=github.com` |
|3rd-party frames:|`github.com * 3p-frame block`|`*$subdocument,3p,domain=github.com` |
| hostname & type | global dynamic filtering|global static filters|
| - | - | - |
|all:| `* * * block` |`*` |
|images:| `* * image block` |`*$image` |
|3rd-party:| `* * 3p block` |`*$3p` |
|inline scripts:| `* * inline-script block`|`*$inline-script` |
|1st-party scripts:| `* * 1p-script block`|`*$script,1p` |
|3rd-party scripts:| `* * 3p-script block`|`*$script,3p` |
|3rd-party frames:| `* * 3p-frame block` |`*$subdocument,3p` |
Source: [How to make dynamic filters static?](https://github.com/gorhill/uBlock/issues/1063)