Skip to content

Commit

Permalink
fix redundant spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Jul 2, 2024
1 parent 6fffdbf commit 3305186
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions docs/adguard-for-android/solving-problems/tasker.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Here are actions that, when included in the intent, will be understood by AdGuar

:::note

When the *Use FakeDNS* setting is enabled, *DNS Protection* will be automatically disabled. DNS requests won't be filtered locally.
When the *Use FakeDNS* setting is enabled, *DNS Protection* will be automatically disabled. DNS requests won't be filtered locally.

:::

Expand All @@ -65,15 +65,15 @@ The full list of supported provider names can be found in our [known DNS provide

`server:custom` switches to the previously added server named `custom`;

`server:tls://dns.adguard.com` creates a new server and switches to it if the previously added servers and providers don't contain a server with the same address. Otherwise, it switches to the respective server. You can add server addresses as IP ( regular DNS), `sdns://…` (DNSCrypt or DNS-over-HTTPS), `https://…` (DNS-over-HTTPS) or `tls://...` (DNS-over-TLS);
`server:tls://dns.adguard.com` creates a new server and switches to it if the previously added servers and providers don't contain a server with the same address. Otherwise, it switches to the respective server. You can add server addresses as IP ( regular DNS), `sdns://…` (DNSCrypt or DNS-over-HTTPS), `https://…` (DNS-over-HTTPS) or `tls://...` (DNS-over-TLS);

`server:1.1.1.1, tls://1.1.1.1` creates a server with comma separated addresses and switches to it. When adding a server via `server:1.1.1.1, tls://1.1.1.1`, the previously added server is removed.

`server:system` resets DNS settings to default system DNS servers.

-----

`proxy_state` enables/disables the outbound proxy. Requires an extra flag:
`proxy_state` enables/disables the outbound proxy. Requires an extra flag:

`enable:true` or `enable:false` activates or deactivates the outbound proxy, accordingly.

Expand Down
2 changes: 1 addition & 1 deletion docs/adguard-for-mac/solving-problems/big-sur-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Now AdGuard can filter local proxies (mostly) without any problems. If you encou

To configure an upstream proxy in AdGuard for Mac in Big Sur:

1. Open AdGuard's settings  *Preferences → Network → Outbound proxy*.
1. Open AdGuard's settings *Preferences → Network → Outbound proxy*.
2. Choose HTTP, HTTPS, SOCKS4 or SOCKS5, depending on your proxy type.
3. Fill in the fields:
- `host` is the IP address of your proxy server,
Expand Down
2 changes: 1 addition & 1 deletion docs/adguard-for-windows/solving-problems/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Once you install AdGuard for Windows and AdGuard VPN for Windows, they just star

There are two specific settings in AdGuard for Windows: *Use redirect driver mode* and *Filter localhost*. By default, the first is disabled, and the second is enabled. Changing any of these settings will inevitably disrupt AdGuard's filtering if both AdGuard Ad Blocker and AdGuard VPN are enabled on your device.

Changing these settings is only necessary to resolve issues related to the simultaneous operation of AdGuard Ad Blocker and network-level apps such as antiviruses, VPNs, and network filters. If you come across a situation where you need to change the default state of the above settings and still want AdGuard Ad Blocker and AdGuard VPN to work simultaneously and correctly — [create an issue on GitHub](https://github.com/AdguardTeam/AdguardForWindows/issues/new/choose) so we can help you personally.
Changing these settings is only necessary to resolve issues related to the simultaneous operation of AdGuard Ad Blocker and network-level apps such as antiviruses, VPNs, and network filters. If you come across a situation where you need to change the default state of the above settings and still want AdGuard Ad Blocker and AdGuard VPN to work simultaneously and correctly — [create an issue on GitHub](https://github.com/AdguardTeam/AdguardForWindows/issues/new/choose) so we can help you personally.

We are currently working on overcoming the above-listed limitations of the simultaneous work of our apps.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Host: example.org`

will be converted to

`GET /foo/bar/ HTTP/1.1
`GET /foo/bar/ HTTP/1.1
Host: example.org`

This option is only applied when the *Protect from DPI* Stealth mode option is enabled.
Expand Down
18 changes: 9 additions & 9 deletions docs/general/ad-filtering/create-own-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Rules with wildcard for TLD are not supported by AdGuard Content Blocker.

- `||example.com/ads/*` — a simple rule, which corresponds to addresses like `http://example.com/ads/banner.jpg` and even `http://subdomain.example.com/ads/otherbanner.jpg`.

- `||example.org^$third-party` this rule blocks third-party requests to `example.org` and its subdomains.
- `||example.org^$third-party` — this rule blocks third-party requests to `example.org` and its subdomains.

- `@@||example.com$document` — general exception rule. It completely disables filtering for `example.com` and all subdomains. There is a number of modifiers which can be used in exception rules. For more details, please follow the link [below](#exception-modifiers).

Expand Down Expand Up @@ -330,7 +330,7 @@ Rules with such modifier are considered invalid.

`$denyallow` modifier allows to avoid creating additional rules when it is needed to disable a certain rule for specific domains. `$denyallow` matches only target domains and not referrer domains.

Adding this modifier to a rule is equivalent to excluding the domains by the rule's matching pattern or to adding the corresponding exclusion rules. To add multiple domains to one rule, use the `|` character as a separator.
Adding this modifier to a rule is equivalent to excluding the domains by the rule's matching pattern or to adding the corresponding exclusion rules. To add multiple domains to one rule, use the `|` character as a separator.

**Examples**

Expand Down Expand Up @@ -610,7 +610,7 @@ You may use a shorter name (alias) instead of using the full modifier name: `$3p

#### **`$to`** {#to-modifier}

`$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.
`$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.

**Examples**

Expand Down Expand Up @@ -694,8 +694,8 @@ If this modifier is used with an exclusion rule (`@@`), it completely disables b

- `||example.com^$document` blocks HTML document request to `example.com` with a blocking page.
- `||example.com^$document,redirect=noopframe` redirects HTML document request to `example.com` to an empty html document.
- `||example.com^$document,removeparam=test` removes `test` query parameter from HTML document request to `example.com`.
- `||example.com^$document,replace=/test1/test2/` replaces `test1` with `test2` in HTML document request to `example.com`.
- `||example.com^$document,removeparam=test` removes `test` query parameter from HTML document request to `example.com`.
- `||example.com^$document,replace=/test1/test2/` replaces `test1` with `test2` in HTML document request to `example.com`.

:::note

Expand Down Expand Up @@ -1213,7 +1213,7 @@ every time AdGuard encounters a cookie called `NAME` in a request to `example.or

**Escaping special characters**

If regular expression `name` is used for matching, two characters must be escaped: comma `,` and dollar sign `$`. Use backslash `\` escape each of them. For example, escaped comma looks like this: `\,`.
If regular expression `name` is used for matching, two characters must be escaped: comma `,` and dollar sign `$`. Use backslash `\` escape each of them. For example, escaped comma looks like this: `\,`.

**Examples**

Expand Down Expand Up @@ -3168,7 +3168,7 @@ The `:matches-css()` pseudo-class allows to match the element by its current sty
- `target` — optional, standard or extended CSS selector, can be skipped for checking *any* element
- `pseudo-element` — optional, valid standard pseudo-element, e.g. `before`, `after`, `first-line`, etc.
- `property` — required, a name of CSS property to check the element for
- `pattern` required, a value pattern that is using the same simple wildcard matching as in the basic url filtering rules OR a regular expression. For this type of matching, AdGuard always does matching in a case-insensitive manner. In the case of a regular expression, the pattern looks like `/regexp/`.
- `pattern` — required, a value pattern that is using the same simple wildcard matching as in the basic url filtering rules OR a regular expression. For this type of matching, AdGuard always does matching in a case-insensitive manner. In the case of a regular expression, the pattern looks like `/regexp/`.

**Special characters escaping and unescaping**

Expand Down Expand Up @@ -3855,7 +3855,7 @@ We **strongly recommend** using [scriptlets](#scriptlets) instead of JavaScript
**Syntax**

```text
rule = [domains] "#%#" script
rule = [domains] "#%#" script
```

- **`domains`** — domain restriction for the rule. Same principles as in [element hiding rules](#cosmetic-elemhide-rules).
Expand Down Expand Up @@ -3917,7 +3917,7 @@ AdGuard supports a lot of different scriptlets. In order to achieve cross-blocke
**Syntax**

```text
rule = [domains] "#%#//scriptlet(" scriptletName arguments ")"
rule = [domains] "#%#//scriptlet(" scriptletName arguments ")"
```

- **`scriptletName`** — required, a name of the scriptlet from AdGuard's Scriptlets library
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/family-link-certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To enable HTTPS filtering on a device that uses Google Family Link, install the
- On the child’s device, go to Settings → Accounts → Google
- Tap your child’s account and see if you have an option to remove it. If you don’t have such an option, proceed to the next step
- Tap the three dots on the upper right corner of the screen and see if you have an option to remove the account
- Follow the instructions removing the child’s account from the device
- Follow the instructions removing the child’s account from the device

1. Launch AdGuard and install the CA file
1. Restore the child’s account on the device:
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/minidump.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ The option to create the minidump file is disabled by default, so before we go i

## Set up Windows to create the Minidump file

Even if you don’t experience any BSoD crash errors, you can still set this option — this is a general recommendation, not necessarily related to AdGuard products. Please follow the instructions below to automatically create the minidump file.
Even if you don’t experience any BSoD crash errors, you can still set this option — this is a general recommendation, not necessarily related to AdGuard products. Please follow the instructions below to automatically create the minidump file.

1. Type *sysdm.cpl* in the Windows search bar and click **Open**. The **System Properties Control Panel Menu** window will appear on the screen.

:::tip

Alternatively, click **Settings** → **System** → **About** → **Advanced system settings**.
Alternatively, click **Settings** → **System** → **About** → **Advanced system settings**.

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/miscellaneous/contribute/translate/plural-forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ When you are faced with a translation that requires the use of plurals, you may

Here are some sources of information you can use.

[Localization Guide](http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html) contains a wide list of languages. The number of plural forms for different languages is shown this way: 'nplurals=2', 'nplurals=4' and so on. The numeral after the Equals sign '=' means the number of plural forms of the respective language.
[Localization Guide](http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html) contains a wide list of languages. The number of plural forms for different languages is shown this way: `nplurals=2`, `nplurals=4` and so on. The numeral after the Equals sign `=` means the number of plural forms of the respective language.

Also, you can get information about plural forms in the [Unicode Common Locale Data Repository](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#rules) (CLDR). The CLDR Plural Rules indicate an additional word form for decimal numbers (1.5; 2.3; 100.1…), but we don’t use them in AdGuard translations.

Expand Down

0 comments on commit 3305186

Please sign in to comment.