Skip to content

Commit

Permalink
Merge pull request #466 from AdguardTeam/ag-30783-blocking-by-domain
Browse files Browse the repository at this point in the history
[AG-30783] Amend "Blocking by domain" description
  • Loading branch information
vbagirov authored Apr 5, 2024
2 parents 535fef7 + 330105f commit e022fab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ For example:
- `http://ads.example.org.us/ad1.gif`
- `http://example.com/redirect/http://ads.example.org/`

By default, such rules do not work for document requests. This means that the `||example.org^` rule will block a request made to `example.org` when you try to navigate to this domain from another website, but if you type `example.org` into the address bar and try to navigate to it, the website will open. To block the document request, you will need to use a rule with the [`$document` modifier](#document-modifier): `||example.org^$document`.

### Blocking exact address

![Blocking exact address](https://cdn.adtidy.org/content/kb/ad_blocker/general/1_exact_address.svg)
Expand Down

0 comments on commit e022fab

Please sign in to comment.