<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>HOSTS &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/hosts/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Tue, 31 Jan 2023 23:44:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>HOSTS &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Instructions to block POPUP ads with HOSTS . file</title>
		<link>https://en.anonyviet.com/instructions-to-block-popup-ads-with-hosts-file/</link>
					<comments>https://en.anonyviet.com/instructions-to-block-popup-ads-with-hosts-file/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 31 Jan 2023 23:44:35 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ads]]></category>
		<category><![CDATA[Block]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[HOSTS]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[POPUP]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=7623</guid>

					<description><![CDATA[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 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>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.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>You can also way <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fchan-quang-cao-spotify-tren-windows-linux-mac%2F" rel="noopener" class="local-link">ad blocking on Spotify</a> similar to the hosts file.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2020%2F07%2Fblock-quang-cao-bang-file-hosts.jpg" rel="noopener" class="local-link"><img post-id="7623" fifu-featured="1" fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-20779" src="https://anonyviet.com/wp-content/uploads/2020/07/block-quang-cao-bang-file-hosts.jpg" alt="Instructions to block POPUP ads with HOSTS . file" title="Instructions to block POPUP ads with HOSTS . file" width="640" height="409" srcset="https://anonyviet.com/wp-content/uploads/2020/07/block-quang-cao-bang-file-hosts.jpg 640w, https://anonyviet.com/wp-content/uploads/2020/07/block-quang-cao-bang-file-hosts-300x192.jpg 300w" sizes="(max-width: 640px) 100vw, 640px" title="Instructions to block POPUP ads with HOSTS 7 . file"/></a></p>
<h3 id="ftoc-file-hosts-la-gi" class="ftwp-heading">What are File Hosts?</h3>
<p>The hosts file is a plain text file containing a list of names <strong>hosting server</strong> and <strong>IP address</strong> 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.</p>
<p>The structure of the hosts file will be:</p>
<p><code>IP     Server</code></p>
<p><strong>Eg:</strong></p>
<p><code>8.8.8.8 google.com</code></p>
<p>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.</p>
<p>So to use the hosts file to block POPUP ads, you will redirect the addresses of the ad links pointing to the IP. <code>127.0.0.1</code> (This is the loopback address on your computer).  So the ad will not show up half.</p>
<h3 id="ftoc-cach-chan-quang-cao-bang-file-hosts" class="ftwp-heading">How to block ads with hosts file</h3>
<p>First you need to go to the path:</p>
<ul>
<li>Windows: <code>C:\Windows\System32\drivers\etc</code></li>
<li>Linux: <code>/etc/hosts</code></li>
</ul>
<p>Then open the hosts file to edit the content inside.</p>
<p>By default from Windows 7 onwards, for security reasons you cannot edit directly on the hosts file.  So you should use the software<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fnotepad-plus-plus.org%2Fdownloads%2F" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';"> notepad++</a> to open and edit files.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2020%2F07%2Fchan-quang-cao-bang-file-hosts-1.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-20778 size-full" src="https://anonyviet.com/wp-content/uploads/2020/07/chan-quang-cao-bang-file-hosts-1.jpg" alt="block POPUP ads with hosts" width="560" height="359" srcset="https://anonyviet.com/wp-content/uploads/2020/07/chan-quang-cao-bang-file-hosts-1.jpg 560w, https://anonyviet.com/wp-content/uploads/2020/07/chan-quang-cao-bang-file-hosts-1-300x192.jpg 300w" sizes="auto, (max-width: 560px) 100vw, 560px" title="Instructions to block POPUP ads with HOSTS file 8"/></a></p>
<p>Next copy the entire content in the link <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fsomeonewhocares.org%2Fhosts%2F" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">https://someonewhocares.org/hosts/</a> 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.</p>
<p>Besides, you can use the software <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fhostsfileeditor.com%2F" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Hosts Editor</a> interface for ease of use.</p>
<p style="text-align: right;">Reference: Bui Nguyen Hoang Tho</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;20777&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;101&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (101 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (101 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/instructions-to-block-popup-ads-with-hosts-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2020/07/block-quang-cao-bang-file-hosts.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
