Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ You must enable Developer mode for extensions. To do so, open the Chrome menu by

### For Chrome version 138 and later

You must enable the _Allow user scripts_ toggle. To do so, open the Chrome menu by clicking the three dots in the upper-right corner, go to _Extensions_ ⭢ _Manage extensions_, and toggle the _Allow user scripts_ switch.
You must enable the _Allow user scripts_ toggle. To do so, open the Chrome menu by clicking the three dots in the upper-right corner, go to _Extensions_ ⭢ _Manage extensions_, go to AdGuard Browser Extension’s _Details_, and toggle the _Allow user scripts_ switch.

![Manage Extensions \*border](https://cdn.adtidy.org/content/Kb/ad_blocker/browser_extension/allow-user-scripts1.jpg)
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,13 @@ To set up AdGuard's background work for Xiaomi devices you should pay attention

## Samsung

On many Samsung devices, any app that is unused for 3 days will not be able to start from background. You should turn off **Adaptive battery** and **Put apps to sleep** options wherever possible to prevent that. Note that after an app or OS update, these settings often revert to their default values and will need to be turned off again.
On many Samsung devices, apps that have been unused for three days will not be able to start from the background. To prevent this, you should turn off the **Adaptive Battery** and **Put apps to sleep** options wherever possible. Note that after an app or OS update, these settings often revert to their default values and must be turned off again.

### Android 11+

On Android 11, Samsung will prevent apps (including AdGuard) from working in background by default unless you exclude them from battery optimizations. To make sure AdGuard will not get killed in the background:
On Android 11, Samsung prevents apps (including AdGuard) from working in the background by default, unless you exclude them from battery optimizations. To ensure that AdGuard will not be terminated in the background:

1. Lock AdGuard in Recent

- Open **Recent apps**.
- Find AdGuard.
- Long-press the icon of the AdGuard app.
1. Lock AdGuard in **Recent apps**: open **Recent apps**, find AdGuard, and long-press the AdGuard app icon.

1. To keep AdGuard working properly:

Expand All @@ -195,51 +191,61 @@ On Android 11, Samsung will prevent apps (including AdGuard) from working in bac

![Samsung](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/samsung-a11-optimize-2.png)

On some devices, the relevant setting may be named differently and be located in other places. Among the possible paths is:
On some devices, the relevant setting may be named differently and be located in other places. Among the possible paths is **Settings** → **Apps** → (⁝) menu → **Special access** → **Optimize battery usage**. Find AdGuard on the list and uncheck it.

1. Disable automatic optimization:

Open **Battery** → (⁝) menu → **Automation** and toggle off all the settings there.

Again, the exact path may differ. For example, on some devices you should go to phone **Settings** → **Device care** → (⁝) menu → **Advanced** and isable **Auto optimization** and **Optimize settings**.

1. If your phone has this option, disable **Adaptive battery**:

**Settings** → **Apps** → (⁝) menu → **Special Access** → **Optimize battery usage** → Find AdGuard on the list and uncheck it
Open phone **Settings** → **Battery** → **More battery settings** and toggle off **Adaptive battery**

1. Disable automatic optimization. To do so:
1. Disable **Sleeping apps** (the exact name of this setting and the path to it may vary depending on the device):

Open **Battery** → (⁝) menu → Choose **Automation** → Toggle off all of the settings there
Open phone **Settings** → **Battery** → **Background usage limits** and disable **Put unused apps to sleep**

Again, the exact path may differ, for example on some devices you should go to:
If you’re still experiencing issues, try these additional battery optimization adjustments:

Phone **Settings** → **Device care** → Tap the (⁝) 3-dot menu → **Advanced** → Disable **Auto optimization** and **Optimize settings**
1. Navigate to **Settings** → **Apps** → **AdGuard** → **Battery** and turn on the **Optimised** option:

1. If your phone has it, disable Adaptive battery:
![Optimised settings *mobile](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/app__battery_optimised_mode.png)

Open phone **Settings** → **Battery** → **More battery settings** → Toggle off **Adaptive battery**
1. Go to **Settings** → **Battery** → **Background usage limits** → **Never auto sleeping apps**:

1. Disable Sleeping apps (the exact name of this setting and the path to it may vary depending on the device):
![Never auto sleeping apps settings *mobile](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/background_usage_limits.png)

Open phone **Settings** → **Battery** → **Background usage limits** → Disable **Put unused apps to sleep**
1. Choose AdGuard from the list of apps. If you don’t see it, return to step 1 and make sure that the *Optimized* battery mode is active:

![Choose the app *mobile](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/never_auto_sleeping_apps.png)

### Android 9 & 10

- Go to **Phone settings** → **Device care** → Tap on the **Battery** item(⁝) **3-dot menu** → **Settings** and uncheck **Put unused apps to sleep** and **Auto-disable unused apps**.
- Go to **Phone settings** → **Device care**, tap the **Battery** item, go to (⁝) **3-dot menu** → **Settings**, and uncheck **Put unused apps to sleep** and **Auto-disable unused apps**.

- Check that **Phone settings** → **Apps** → **Sleep as Android** → **Battery** **Background restriction** is set to **App can use battery in background** for AdGuard.
- In **Phone settings** → **Apps** → **Sleep as Android** → **Battery**, check that **Background restriction** is set to **App can use battery in background** for AdGuard.

- Remove AdGuard from Sleeping apps. To do that:
- Remove AdGuard from **Sleeping apps**:

1. Go to **Phone settings** → **Device care**
1. Go to **Phone settings** → **Device care**:

![Samsung *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/samsung1en.png)

1. Tap **Battery**
1. Tap **Battery**:

![Samsung *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/samsung2en.png)

1. Tap the **3-dot menu** → **Settings**
1. Tap the **3-dot menu** → **Settings**:

![Samsung *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/samsung3en.png)

1. Tap **Sleeping apps**
1. Tap **Sleeping apps**:

![Samsung *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/samsung45en.png)

1. **Wake up** AdGuard using the trashcan icon
1. Wake up AdGuard using the trash can icon:

![Samsung *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/samsung6en.png)

Expand All @@ -255,7 +261,7 @@ For early Samsung devices, there is no huge need for setting up the background o

![Samsung settings *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/oldsamsung_2.png)

- Tap on the lock icon
- Tap the lock icon:

![Samsung settings *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/oldsamsung_3.png)

Expand All @@ -267,19 +273,19 @@ Huawei and their Android customization **EMUI** belongs to the most troublesome

This feature may or may not be available for all devices or may be labeled differently.

1. Go to phone **Settings** → **Battery** → **App launch**
1. Go to phone **Settings** → **Battery** → **App launch**:

![Huawei *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/huawei1en.png)

1. Turn off **Manage all automatically**
1. Turn off **Manage all automatically**:

![Huawei *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/huawei2en.png)

1. Set AdGuard to **Manage manually** and enable all toggles.
1. Set AdGuard to **Manage manually** and enable all toggles:

![Huawei *mobile_border](https://cdn.adtidy.org/public/Adguard/screenshots/android/huawei3en.png)

1. Disable **Startup manager** that prevents apps from running automatically after the phone starts up.
1. Disable **Startup manager** that prevents apps from running automatically after the phone starts up:

Go to **Settings** → **All** → **Startup manager** → Toggle AdGuard off

Expand Down Expand Up @@ -309,21 +315,21 @@ Unfortunately, this is a system app that can only be fully uninstalled using ADB

It is not confirmed, but it might be possible to just disable PowerGenie in **Phone settings** → **Apps**. If this setting is present in your device's settings, you may skip the following steps. However, it would need to be re-applied every time you reboot your device. If there is no such setting, follow this instruction:

1. [Install ADB](https://www.xda-developers.com/install-adb-windows-macos-linux/) on your computer;
1. [Install ADB](https://www.xda-developers.com/install-adb-windows-macos-linux/) on your computer.

1. Connect your phone with a data cable;
1. Connect your phone with a data cable.

1. Enable [Developer options](https://developer.android.com/studio/debug/dev-options.html);

1. Enable **USB debugging** within Developer options on your phone;
1. Enable **USB debugging** within Developer options on your phone.

1. Run the following commands on your computer:

`adb shell pm uninstall --user 0 com.huawei.powergenie`

`adb shell pm uninstall -k --user 0 com.huawei.android.hwaps`

If AdGuard keeps getting killed, also try running
If AdGuard keeps getting killed, also try running:

`adb shell pm stopservice hwPfwService`

Expand Down Expand Up @@ -354,7 +360,7 @@ Old Huawei devices are the easiest to set up, it is enough to perform two simple

![Huawei recent apps *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/huaweirecentapps.jpeg)

- Tap on the lock icon:
- Tap the lock icon:

![Huawei lock *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/background-work/huaweilock.jpeg)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This article is about AdGuard for Android, a multifunctional ad blocker that pro

To be able to [filter HTTPS traffic](/general/https-filtering/what-is-https-filtering.md) (which is extremely important as most ads use HTTPS), AdGuard needs to install its certificate into your device’s user storage. On older versions of the Android OS this was done automatically, but on Android 11 and later users have to install it manually.

![Certificate *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/manual-certificate/g.gif)
![Certificate *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/android/solving_problems/manual-certificate/screenCA.gif)

Follow these steps to install the AdGuard certificate:

Expand All @@ -22,13 +22,13 @@ Follow these steps to install the AdGuard certificate:
- AdGuard’s HTTPS filtering is safe
- AdGuard certificate

Consecutively, tap *Continue* → *Next* → *Save certificate*.
1. Consecutively, tap *Continue* → *Next* → *Save certificate*.

1. Tap *Save* at the bottom of the opened *Download* folder.

1. After saving, tap *Open Settings*.
1. After saving, copy the text from the *CA Certificate* field and tap *Open Settings*.

1. Open *Settings* and type *CA Certificate* in the search bar. Tap the respective option.
1. Open *Settings* and either paste or type *CA Certificate* in the search bar. Tap the respective option.

1. You might see a warning. If so, tap *Install anyway* and enter your PIN if necessary.

Expand All @@ -39,7 +39,7 @@ You’re all set! Once the certificate is installed successfully, you’ve enabl
If you experience issues during the manual certificate installation (for example, you installed the certificate, but the application keeps ignoring it), you can follow one of the solutions below.

1. Restart AdGuard.
2. Try to install the correct certificate (AdGuard Personal CA) one more time.
1. Try to install the correct certificate (AdGuard Personal CA) one more time.

## Security warnings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ AdGuard's Safari Web extension compliments AdGuard by giving it the ability to e

Besides that, AdGuard's Safari Web extension can be used to quickly manage AdGuard for iOS right from the browser. Tap the *Extensions* button — it's the one with a jigsaw icon, depending on your device type it may be located to the left or to the right of the address bar. Find **AdGuard** in the list and tap it.

![Web extension menu *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/ext_adguard_en.png?1)
![Web extension menu *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/open-safari-assistant.jpg)

> On iPads, AdGuard's Safari web extension can be accessed directly by tapping the AdGuard icon in the browser's address bar.

Expand All @@ -41,35 +41,41 @@ AdGuard's Safari Web extension requires access to the web pages' content to oper

The Web extension is not a standalone tool and requires AdGuard for iOS. If you don't have AdGuard for iOS installed on your device, please [install it first](../installation) and complete the onboarding process to prepare it for work.

Once done, open *Settings → Safari → Extensions*.
Once done, open the *Settings* app and scroll down to *Apps*.

![Select "Safari" *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings1_en.png)
![Select Apps *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/apps.jpg)

![Select "Extensions" *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings2_en.png)
Then, open *Safari* → *Extensions*.

Find **ALLOW THESE EXTENSIONS** section and then find **AdGuard** among the available extensions.
![Select Safari *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings1_en.png)

![Select "AdGuard" in ALLOW THESE EXTENSIONS section *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings3_en.png)
![Select Extensions *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings2_en.png)

Tap it, then toggle the switch on. On the same screen, set the *All Websites* permission for AdGuard to either *Allow* or *Ask*. If you choose *Allow*, you won't have to give permission every time you visit a new website. If you are unsure, choose *Ask* to grant permissions on a per-site basis.
In the **ALLOW THESE EXTENSIONS** section find **AdGuard** among the available extensions.

![Extension settings *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/settings4_en.png)
![Select AdGuard *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/select-ag.jpg)

Tap it, then toggle the *Allow Extension* switch on.

Lower on the same screen, make sure *All Websites* is set *Allow* or *Ask*. If you choose *Allow*, you won't have to give permission every time you visit a new website. If you are unsure, choose *Ask* to grant permissions on a per-site basis.

![AdGuard extension in Settings *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/ag-webext-in-settings.png)

### In Safari

You can also enable the AdGuard extension from the Safari browser. To do it, tap *Extensions* (if you don't see it next to the address bar, tap the `aA` icon).
To enable the AdGuard extension right from the Safari browser, tap the icon on the left side of the URL field:

![In Safari tap aA icon *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/safari1_en.png)
![In Safari tap icon on the left of URL field *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/web-extension-on-1.jpg)

Then find the *Manage Extensions* option in the list and tap it. In the opened window turn on the switch next to **AdGuard**.
Then, tap *Manage Extensions*.

![Extensions *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/safari2_en.png)
![Extensions *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/web-extension-on-2.jpg)

![Extensions *mobile_border](https://cdn.adtidy.org/public/Adguard/kb/iOS/webext/safari3_en.png)
In the opened window, turn on the AdGuard switches. The top one is the AdGuard Web extension; the other six are content blockers needed for filtering.

If you use this method, you may have to go to Safari settings to grant AdGuard extension the necessary permissions anyway.
![Extensions *mobile_border](https://cdn.adtidy.org/content/kb/ad_blocker/iOS/web-extension-on-3.jpg)

You should now be able to see AdGuard among the available extensions. Tap it and then the yellow **i** icon. Enable **Advanced protection** by tapping the *Turn on* button and confirming the action.
You should now be able to see AdGuard among the available extensions. To enable **Advanced protection**, open AdGuard extension, tap the yellow **i** icon, press *Enable*, and confirm the action.

:::note

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Possible DNS leaks
sidebar_position: 9
sidebar_position: 10
---

:::info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AdGuard for Windows runs two processes: `Adguard.exe` and `AdguardSvc.exe`. You

Since dump files can be large, please compress them into an archive before sending them to support. Also, include the AdGuard logs to help us diagnose the issue more effectively. [Instructions for collecting logs](../adguard-logs).

## Collecting wfpdiag.cab file
## Collecting `wfpdiag.cab` file

Our support team may request a wfpdiag.cab file, along with a minidump file, to analyze system logs more thoroughly and diagnose issues. To collect the file, please follow these steps:

Expand Down
Loading