This commit is contained in:
parent
94184931fa
commit
9877d89431
11
README.md
11
README.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue