Skip to content

Commit 8013053

Browse files
Apply suggestions from code review
Co-authored-by: Helen <[email protected]>
1 parent 980e77a commit 8013053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/general/ad-filtering/create-own-filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ In some cases the `$domain` modifier can match not only the referrer domain, but
540540

541541
This happens when the rule has one of the following modifiers: [`$cookie`](#cookie-modifier), [`$csp`](#csp-modifier), [`$permissions`](#permissions-modifier), [`$removeparam`](#removeparam-modifier).
542542

543-
For these modifiers, if the referrer matches a rule with `$domain` that explicitly excludes the referrer domain, then the rule will not be applied even if the target domain also matches the rule.
543+
These modifiers will not be applied if the referrer matches a rule with `$domain` that explicitly excludes the referrer domain, even if the target domain also matches the rule.
544544

545545
**Examples**
546546

@@ -550,7 +550,7 @@ For these modifiers, if the referrer matches a rule with `$domain` that explicit
550550
In the following examples it is implied that requests are sent from `http://example.org/page` (the referrer) and the target URL is `http://targetdomain.com/page`.
551551

552552
- `page$domain=example.org` will be matched, as it matches the referrer domain.
553-
- `page$domain=targetdomain.com` will not be matched, as it does not match referrer domain.
553+
- `page$domain=targetdomain.com` will not be matched because it does not match the referrer domain.
554554
- `||*page$domain=targetdomain.com,cookie` will be matched because the rule contains `$cookie` modifier
555555
despite the pattern `||*page` may match specific domains.
556556
- `page$domain=targetdomain.com|~example.org,cookie` will not be matched because the referrer domain is explicitly excluded.

0 commit comments

Comments
 (0)