-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update modifiers compatibility table
Squashed commit of the following: commit 2ad793f Author: Adam Wróblewski <[email protected]> Date: Wed May 8 12:03:48 2024 +0200 Update `$to` modifier commit c8a7d67 Author: Adam Wróblewski <[email protected]> Date: Wed May 8 11:53:09 2024 +0200 Rename defined variable to common_props commit ba6622d Author: Adam Wróblewski <[email protected]> Date: Wed May 8 11:42:18 2024 +0200 Use re-useable blocks commit 1fa6ad2 Author: Adam Wróblewski <[email protected]> Date: Wed May 8 10:11:14 2024 +0200 Update modifiers compatibility table `$to` modifier is now supported by AdGuard `$replace` modifier is supported by uBlock Origin for Firefox
- Loading branch information
Showing
3 changed files
with
36 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
# TODO: add adg_os_any after CoreLibs 1.13 release | ||
# https://adguard.app/kb/general/ad-filtering/create-own-filters/#to-modifier | ||
define: | ||
- &common_props | ||
name: to | ||
conflicts: | ||
- denyallow | ||
assignable: true | ||
negatable: false | ||
value_format: pipe_separated_domains | ||
- &common_adg_props | ||
<<: *common_props | ||
description: |- | ||
`$to` limits the rule scope to requests made to the specified domains and their subdomains. | ||
To add multiple domains to one rule, use the `|` character as a separator. | ||
docs: https://adguard.com/kb/general/ad-filtering/create-own-filters/#to-modifier | ||
|
||
adg_os_any: | ||
<<: *common_adg_props | ||
|
||
adg_ext_any: | ||
<<: *common_adg_props | ||
|
||
ubo_ext_any: | ||
name: to | ||
<<: *common_props | ||
description: |- | ||
The main motivation of this option is | ||
to give static network filtering engine an equivalent of DNR's `requestDomains` and `excludedRequestDomains`. | ||
docs: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#to | ||
assignable: true | ||
negatable: false | ||
value_format: pipe_separated_domains |