Facing annoying advertising is one of the most common problems of owners of modern smartphones. Pop-up windows they can appear at the most inopportune moments: while playing a game, watching a video or reading the news, blocking the entire screen and interfering with normal use of the device. This is not only annoying, but also creates serious risks securityas many of these banners lead to phishing sites or initiate hidden downloads of malware.

Fortunately, the operating system Android provides users with fairly flexible tools to protect against digital noise. We will look at both standard browser settings and system parameters that will help you forget about pop-up junk forever. In some cases, the problem lies not in the browser, but in installed applications that abuse the right to display notifications.

In this article you will find step-by-step guide for different versions Android, and also learn how to identify and remove hidden advertising modules. Understanding the mechanisms of how pop-up windows work will allow you to configure the device once and never return to this issue. Let's start with the most common source of the problem - web browsers.

Configuring the built-in browser and Google Chrome

The main channel for penetration of unwanted advertising is the web browser. By default, most firmwares have Google Chromeinstalled, which has powerful built-in filters, but they are not always activated automatically. To start blocking, you need to go to the settings of the application itself.

Open the browser and click on the three dots in the upper right corner of the screen. In the drop-down menu, select Settings. Next, scroll the list down to the Privacy and securitysection. This is where the key switches responsible for filtering content are hidden.

Find the section Site settings (or Content settings in older versions). Inside you will see the item Pop-ups and redirects. Make sure the slider is in the Off or Locked position. This action will prevent new tabs from opening without your knowledge.

💡

If you are using a third-party browser, such as Samsung Internet or Firefox, look for similar settings in the section "Privacy" or "Tracking Protection".

It is also recommended to activate the option Safe browsingin the same menu. This feature scans sites in real time and blocks access to resources known to spread malware or scams. Ignoring this setting may result in you accidentally downloading a virus to your device even with blocked pop-up windows.

💡

Blocking pop-up windows in your browser is the first and most important step, which eliminates 80% of problems with advertising when surfing the Internet.

Blocking system notifications from applications

Often users confuse browser advertising with system notifications. Many free apps, especially flashlights, QR code scanners, or simple games, monetize by displaying push notifications directly on the lock screen or curtain.

To figure this out, go to General Settings your smartphone. Find the section Applications and notifications (the name may differ slightly depending on the model, for example, Xiaomi or Samsung). Select Notifications.

You will see a list of all apps that have the right to send messages. Study it carefully. If you see an application that you rarely use, but which constantly sends notifications, turn off access completely. Click on the name of the app and turn the switch All notifications to the inactive state.

  • 🚫 Advertising aggregators: applications with names like "News", "Weather", "Cleaner" are often sources of spam.
  • 🛡️ System services: Do not turn off notifications from instant messengers, mail or banking applications so as not to miss important information.
  • 🔍 Hidden icons: Sometimes an advertising application does not have an icon in the menu, but is displayed in the list of installed apps.

Particular attention should be paid to applications that you installed recently, around the time when the problem with advertising began. Removing such software often solves the problem instantly. If you are not sure about the purpose of the app, it is better to temporarily block it from showing notifications and observe the system's reaction.

📊 Where do advertisements most often appear on your phone?
From the browser
From installed games
From unknown applications
From system folders

Search and remove malicious applications

Sometimes advertisements appear even on the desktop when you have not launched a single application. This is a sure sign that advar (adware) has settled in the system - malicious software created solely for displaying ads. Such apps are often disguised as useful utilities.

Go to Settings -> Applications. View the entire list. Look for apps without a name or with a blank icon. Virologists often hide their creations at the very bottom of the list or assign them names of system processes, for example, “System Update” or “Wi-Fi Service,” but with spelling errors.

If you find a suspicious application, try clicking on it. If the button Delete is inactive (gray), it means that the virus has acquired device administrator rights. In this case, you need to go to Settings -> Security -> Device administrator applications (or Special access). Uncheck the suspicious app, and only then return to the application menu to remove it.

☑️ Malware diagnostics

Done: 0 / 5

For complex cases, it is recommended to use specialized scanners, such as Malwarebytes or Dr.Web Light. They are able to find hidden processes that are not visible in the standard task manager. After cleaning, be sure to restart your smartphone to complete the removal of all temporary virus files.

Using DNS filtering to block ads

One ​​of the most effective and modern methods of combating advertising is changing the settings DNS (Domain Name System). This method works at the level of the entire operating system, blocking advertising requests not only in the browser, but also inside most free applications.

Starting with version Android 9, the "Private DNS" function has appeared in the system. You don't need to install any third-party apps. Just go to Settings, enter "DNS" in the search bar and select Private DNS (can be in the "Connections" or "Network and Internet" section).

The default value is "Auto". Switch the mode to "ISP Hostname" (or "Manual"). In the field that appears, you must enter the address of a reliable blocker. The most popular and proven option is the service from AdGuard.

dns.adguard.com

Enter this line and save the settings. Now all requests to known ad servers will be redirected to “nowhere”, and ads simply will not be able to load. This method significantly saves traffic and battery power, since the phone does not need to download heavy advertising banners.

What to do if the Internet stops working after changing the DNS?

If the Internet disappears after entering the address, your provider may be blocking third-party DNS servers. Try entering an alternative address: dns.cloudflare.com. If this does not help, return the setting to “Auto” or “Disabled.”

Comparison of blocking methods: effectiveness table

Different methods of dealing with pop-up windows have their pros and cons. In some places, the installation of additional software is required, and in others a simple setup is enough. Below is a table that will help you choose the best option for your tasks.

Blocking method Difficulty of setting Efficiency Impact on the battery
Browser settings Low Medium (web only) Absent
Disable notifications Medium High (for push notifications) Positive
Private DNS Low Very high (system) Positive
Third-party blockers High Maximum Negative (background work)

As can be seen from the table, using Private DNS is the golden mean: it requires a minimum of effort and gives maximum coverage. However, if you are faced with an aggressive virus that replaces system windows, no DNS settings will help - you will need to completely remove the malicious application.

⚠️ Attention: When using DNS filtering, some legitimate sites may not work correctly or may not load at all if they use the same domains as advertising networks. In rare cases, it may be necessary to temporarily disable the function.

Installing specialized ad blockers

If standard system tools are not enough, powerful all-in-one tools like AdGuard or Blokadacome to the rescue. These applications create a local VPN tunnel on your device through which all traffic is passed, filtering it before being transmitted to the network.

To install such apps, you often need to download an APK file from the official website of the developer, since the policy Google Play prohibits the placement of full-fledged network blockers. After installation, the application will ask for permission to create a VPN connection - this is normal and necessary for it to work.

In the blocker settings, you can select specific filter lists. It is recommended to activate Russian-language filters and lists for mobile applications. Also, many such apps have a “Phishing Protection” function, which warns you about going to a dangerous site.

  • 📉 Traffic savings: Blockers can save up to 30% of the mobile data by cutting off advertising junk.
  • Loading acceleration: pages open faster, since the browser does not need to render heavy banners.
  • 🔋 Energy consumption: Constantly filtering traffic in the background may slightly increase battery consumption.

Remember that running a local VPN disables the ability to use other VPN services at the same time. If you need to hide your IP address, you will have to temporarily disable your ad blocker.

💡

Specialized blockers are heavy artillery. Use them if the built-in Android tools and DNS settings cannot cope with the flow of advertising.

Prevention and safe surfing

The best protection is prevention. Even the most powerful blockers can fail if the user himself allows dubious sites to display notifications. When visiting a new resource, the browser often asks: “Allow the site to send notifications?”

Always answer Block or Blockif you have not subscribed to the newsletter of a specific news portal. Attackers often disguise the ad close button as a notification “Your phone is infected, click OK,” and one wrong click will sign you up for spam.

Clear your browser cache regularly. Sometimes malicious scripts are saved in the cache and continue to run even after the tab is closed. Go to Chrome settings, select History -> Clear history and check the box next to Images and other files saved in the cache.

⚠️ Attention: Settings interfaces may vary depending on manufacturer's shells (MIUI, OneUI, ColorOS). If you do not find the specified item, use the search in your phone settings by entering the keyword “Notifications” or “Special access”.

Be careful when downloading applications from unverified sources. Installing APK files from forums or file hosting services is the fastest way to get an adware virus. Try to use only the official store Google Playwhere applications are pre-tested.

Frequently asked questions (FAQ)

Why do advertisements appear even when I am not on the Internet?

This means that your device has an application installed with a background process for displaying advertisements. It uses system permissions to display windows on top of other apps. Check the list of recently installed applications and remove suspicious utilities (flashlights, optimizers, scanners).

Is it safe to use DNS filtering?

Yes, it is absolutely safe. You simply change the address of the phone book, which converts website names into IP addresses. Using servers like dns.adguard.com does not transfer your personal data to third parties, but only filters requests to advertising domains.

Is it possible to disable advertising in specific applications without deleting them?

Partly yes. In the settings of Android 12 and higher, you can block a specific application from accessing the Internet. Go to Applications -> Select the application -> Mobile data and Wi-Fi -> Disable data transfer. However, this may disrupt the functionality of the application if it needs the Internet to work.

Resetting settings will help remove pop-up windows?

Full reset to factory settings (Hard Reset) is guaranteed to remove everything viruses and adware, as the phone will return to its original state. But this is an extreme measure, as you will lose all contacts, photos and installed apps. Use this method only if other methods have not helped.

Why is the "Delete" button inactive for some applications?

Most likely, the application has received device administrator rights. This is done to protect against deletion. You need to go to Settings -> Security -> Device administrator applications, uncheck the desired app, and only after that the uninstall button will become active.