• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Instructions to block POPUP ads with HOSTS . file

AnonyViet by AnonyViet
February 1, 2023
in Tips
0

Advertising is the revenue source of the Website, but sometimes the popup ads (shows another window) or the ads with sock content still annoy you. Normally, if you want to block ads, you will install Adblock or Adguard, but that will accidentally block useful and suitable ads for you. If you still want to support Websites with good content with clean ads and do not want to display ads with unsightly pop-ups, you can block POPUP ads with the hosts file.

Join the channel Telegram of the AnonyViet 👉 Link 👈

You can also way ad blocking on Spotify similar to the hosts file.

Instructions to block POPUP ads with HOSTS . file

What are File Hosts?

The hosts file is a plain text file containing a list of names hosting server and IP address corresponding. This is essentially a database of domain names used by the operating system to determine the IP address of a server in a network environment.

The structure of the hosts file will be:

IP     Server

Eg:

8.8.8.8 google.com

So your computer will understand that google.com has an IP of 8.8.8.8. When you use a browser to access Google, the browser will query to IP 8.8.8.8 to display the website to you.

So to use the hosts file to block POPUP ads, you will redirect the addresses of the ad links pointing to the IP. 127.0.0.1 (This is the loopback address on your computer). So the ad will not show up half.

How to block ads with hosts file

First you need to go to the path:

  • Windows: C:\Windows\System32\drivers\etc
  • Linux: /etc/hosts

Then open the hosts file to edit the content inside.

By default from Windows 7 onwards, for security reasons you cannot edit directly on the hosts file. So you should use the software notepad++ to open and edit files.

block POPUP ads with hosts

Next copy the entire content in the link https://someonewhocares.org/hosts/ Go to the hosts file and save it. This is a list of websites with unhealthy content and offensive advertisements. The above link will regularly update the advertising addresses, you come back from time to time to update new addresses.

Besides, you can use the software Hosts Editor interface for ease of use.

Reference: Bui Nguyen Hoang Tho

The article achieved: 5/5 – (101 votes)

Tags: AdsBlockfileHOSTSInstructionsPOPUP
Previous Post

Reviews of the visited locations are secretly saved on the phone

Next Post

Download Acronis True Image 2020 ver 24.5 Full and User Manual

AnonyViet

AnonyViet

Related Posts

Instructions for creating Minecraft-style food photos
Tips

Instructions for creating Minecraft-style food photos

June 9, 2026
Get free Cambridge courses to prepare for IELTS, Starters, Movers
Tips

Get free Cambridge courses to prepare for IELTS, Starters, Movers

June 4, 2026
How to record reaction videos with Android phones, no app needed
Tips

How to record reaction videos with Android phones, no app needed

June 1, 2026
Instructions on how to get Google AI Pro 1 year for free for new accounts
Tips

Instructions on how to get Google AI Pro 1 year for free for new accounts

June 1, 2026
Top free AI tools to help write, test and optimize content
Tips

Top free AI tools to help write, test and optimize content

June 1, 2026
Instructions for receiving Lovable Pro 12 months for free
Tips

Instructions for receiving Lovable Pro 12 months for free

May 29, 2026
Next Post
Download Acronis True Image 2020 ver 24.5 Full and User Manual

Download Acronis True Image 2020 ver 24.5 Full and User Manual

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Cách làm mờ khuôn mặt trên iPhone, không cần tải app

Cách làm mờ khuôn mặt trên iPhone, không cần tải app

June 11, 2026
Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

June 11, 2026
PDF editing application on Android worth 199k is free

PDF editing application on Android worth 199k is free

June 10, 2026
Instructions for creating Minecraft-style food photos

Instructions for creating Minecraft-style food photos

June 9, 2026
Cách làm mờ khuôn mặt trên iPhone, không cần tải app

Cách làm mờ khuôn mặt trên iPhone, không cần tải app

June 11, 2026
Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

June 11, 2026
PDF editing application on Android worth 199k is free

PDF editing application on Android worth 199k is free

June 10, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Cách làm mờ khuôn mặt trên iPhone, không cần tải app

Cách làm mờ khuôn mặt trên iPhone, không cần tải app

June 11, 2026
Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

Website to check the World Cup 2026 match schedule intuitively, with automatic calendar synchronization

June 11, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

6789 kv999

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

6789 kv999

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply