1
0
Fork 0
Spirillen Marsupilami 2020-06-19 13:02:45 +00:00
parent 94184931fa
commit 9877d89431
1 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,17 @@ How to write filters
--------------------
[Howto? block whitlisted spyware](https://github.com/easylist/easylist/issues/4529)
@DandelionSprout have written this: [](https://github.com/DandelionSprout/adfilt/blob/master/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md#blocking) but a few axamples would be greate
* `$badfilter`: Deactivates a resource-blocking entry, even if it is present in another list.
* `$important`: Makes a resource-blocking entry take precedence over another whitelisting entry.
* `$redirect`: Redirects resources to a neutered version that has been embedded in those extensions. Possible options are listed in
[this file](https://github.com/gorhill/uBlock/blob/master/src/js/redirect-engine.js)
(AdGuard has a [slightly smaller selection](https://github.com/AdguardTeam/AdguardBrowserExtension/blob/master/Extension/lib/filter/rules/scriptlets/redirects.yml)).
* `$empty`: Results in a fake empty page being loaded, instead of an error page.
## Url to source
https://help.eyeo.com/en/adblockplus/how-to-write-filters