メインコンテンツへスキップする

フィルタ

info

この記事は、お使いのブラウザのみを保護する「AdGuard ブラウザ拡張機能」に関するものです。 デバイス全体を保護するには、AdGuardアプリをダウンロードしてください。

Blocking ads is the key functionality of any ad blocker, and AdGuard Browser Extension is not an exception. Ad blocking is based on filters — sets of rules written in a special language. These rules tell which elements should be blocked and which should not. AdGuard interpretes the rules and modifies web requests based on them. As a result, you stop seeing ads on your webpages.

Filters *border

All filters are grouped according to their role. For example, there are categories for ad-blocking filters, privacy protection filters, social media-related filters, etc. You can enable either individual filters or the entire group at once.

Ad blocking filters *border

Custom filters

While the features of other filter groups are more or less predictable, there is a group called Custom that may raise additional questions.

Custom filters *border

In this tab, you can add filters that are not present in the extension by default. There are plenty of publicly available filters on the Internet. Moreover, you can create and add your own filters. In fact, you can build any set of filters and customize ad blocking the way you like.

To add a filter, just click Add custom filter, enter the URL or the file path of the filter you want to be added and click Next.

Add a custom filter *border

User rules

User rules is another tool that helps you customize the blocking of ads.

User rules *border

There are several ways to add new rules. The most straightforward is to just type a rule in, but it requires some knowledge of the rule syntax.

You can import a ready-to-use filter list from a text file as well. Make sure that different rules are separated by line breaks. Note that importing a ready-to-use filter list is better done in the Custom filters tab.

Besides, you can export your own filtering rules. This option is good for transferring your list of rules between browsers or devices.

When you add a website to the Allowlist (more on that below) or use the Assistant tool for hiding an element on the page, a corresponding rule is also saved in User rules.

Allowlist

The allowlist is used to exclude certain websites from filtering. Blocking rules are not applied to the websites on the list.

Allowlist *border

The allowlist can be inverted, too: you can unblock ads everywhere except on the websites added to this list. To do that, activate the Invert allowlist option.

Invert allowlist *border

You can also import and export existing allowlists. It is useful, for instance, if you want to apply the same allowing rules in each of your browsers.