• 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 for blocking POPUP ads using HOSTS file

AnonyViet by AnonyViet
October 19, 2024
in Tips
0

Advertising is a source of revenue for the Website, but sometimes popup ads (showing another window) or ads with nonsense content still annoy you. Normally, if you want to block ads, you will install Adblock or Adguard, but that will accidentally block ads that are useful and suitable 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-up windows, you can block POPUP ads using the hosts file.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

You can also way Block ads on Spotify Similarly with the hosts file.

Instructions for blocking POPUP ads using HOSTS file

What is File Hosts?

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

The structure of the hosts file will be:

IP     Server

For example:

8.8.8.8 google.com

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

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

How to block ads using 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 using hosts

Next copy all the content in the link https://someonewhocares.org/hosts/ Go to the hosts file and save it. This is a list of website addresses with unhealthy content and annoying advertisements. The above link will be regularly updated with advertising addresses. Please come back from time to time to update new addresses.

Besides, you can use software Host Editor Has an easy-to-use interface.

Reference: Bui Nguyen Hoang Tho

Previous Post

X360CE – 'Lifesaver' when the PC does not recognize cheap controllers

Next Post

How to compress and decompress files on Android phones and iPhones

AnonyViet

AnonyViet

Related Posts

Instructions on how to format text on the Windows 11 notepad
Tips

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
4 ways to fix bluetooth connectivity on Windows 11
Tips

4 ways to fix bluetooth connectivity on Windows 11

August 8, 2025
How to know the computer is tracked and processed by Keylogger
Tips

How to know the computer is tracked and processed by Keylogger

August 7, 2025
Opal: Create applications who do not need to write code
Tips

Opal: Create applications who do not need to write code

August 3, 2025
How to activate a new Start menu on Windows 11
Tips

How to activate a new Start menu on Windows 11

July 29, 2025
Intellgpt: AI tool for osint and data science
Tips

Intellgpt: AI tool for osint and data science

July 28, 2025
Next Post
How to compress and decompress files on Android phones and iPhones

How to compress and decompress files on Android phones and iPhones

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
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

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

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

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

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