Skip to main content

Block Ads

Block Adservers


If you wanna remove those nasty ads from the pages which waste lot of time and bandwidth then here is something for you I belive it will help you a lot.

How it works ...?

It's possible to set up a name server as authoritative for any domain you choose, allowing you to specify the DNS records for that domain. You can also configure most computers to be sort of mini-nameservers for
themselves, so that they check their own DNS records before asking a nameserver. Either way, you get to say what hostname points to what IP address. If you haven't guessed already, the way you block ads it to provide bogus information about the domains we don't want to see - ie, all those servers out there that dedicate their existence to spewing out banner ads.

The hosts file

Probably the most common way people block ads like this is with something called the "hosts file". The hosts file is a simple list of hostnames and their corresponding IP addresses, which your computer looks at every time you try and contact a previously unknown hostname. If it finds an entry for the computer you're trying to reach, it sets the IP address for that computer to be whatever's in the hosts file.
127.0.0.1 is a special IP address which, to a computer, always means that computer. Any time a machine sends a network request to 127.0.0.1, it is talking to itself. This is very useful when it comes to blocking ads, because all we have to do is specify the IP address of any ad server to be 127.0.0.1. And to do that, all we have to do is edit the hosts file. What will happen then is something like this:
  1. you visit a web page
  2. the web page contains a banner ad stored on the server "ads.example.com"
  3. your computer says "ads.example.com? never heard of it. wait a second, let's see if I've got the number on me..."
  4. your computer finds its hosts file and checks to see if ads.example.com is listed
  5. it finds the hostname, which points to 127.0.0.1
  6. "great", says the computer, and sends off a request to 127.0.0.1 for the banner ad that's supposed to be on the page
  7. "oh", says the computer, and fails to show anything because it just sent a request to itself for a banner ad

     http://jwigley.com/wp-content/uploads/2012/01/hosts.png
Where's my hosts file?
  • Windows 95 / 98 / ME: C:\Windows ( I think )
  • Windows NT: C:\WinNT\hosts
  • Windows 2000: C:\WinNT\system32\drivers\etc
  • Windows XP: C:\Windows\System32\drivers\etc
  • Windows Vista: C:\Windows\System32\drivers\etc
  • Windows 7: C:\Windows\System32\drivers\etc
  • FreeBSD / Linux / Mac OS X / Unixish operating systems: /etc/hosts
  • Classic Mac OS: please read this helpful information submitted by David "iNerd" B
  • Mac OS 9: Marcia Skidmore sent in details that hopefully explain what you need to know
  • Mac OS 10+: Tina Kent sent in details for later versions of Mac OS
The format of the hosts file is very simple - IP address, whitespace, then a list of hostnames (except for older Macs; please see above). However, you don't need to know anything about the format if you don't want to as you can just view the list hosts file.
Of course, that's not the only way to use the list, but it's probably the most simple for most people.
here is the hosts list which are serving you the ads just append it to your hosts file and enjoy ad free surfing makes things faster. if you want ad from certain site then just remove it from the list below.
QUOTE

Comments

Popular posts from this blog

How To Find The IP Address Of A Website

In many IT trickz and hack, We need to know the IP ( Internet Protocol ) address of the Website. Like if the website is blocked in the System then we can access it if we own the IP address of that website. But the Question arises that.. How to Find the IP Address of  Website ? Step 1 : Open Command Prompt. ( Go to Run and type cmd and hit Enter )

How To Skip Ads In adf.ly On Opera Mini ( Mobile )

More then 60% user on internet use the internet through there mobile. And many time when we want to download something, we have to skip the adf.ly's ads. But the ads won't load in opera mini. So there is an easy trick to skip adf.ly's ads in opera mini. Step 1 : Open the page. Step 2 : Enter the java script in address bar. And hit enter/go. javascript:refresh   Step 3 : Click on Skip Ad . And the desired page will open.   Step 4 : Access your desired Webpage :)    CLICK HERE to try the Trick.

How To Hack Ones's Computer While Chatting With Him/Her In Facebook, Gtalk or Rediffbo etc.

I will give you a technique of hacking into ones's computer while chatting with him/her in Facebook, Gtalk or Rediffbol....So first of all before entering into this topic I assume that you have a basic knowledge of computer, especially command prompt/MS dos .. So lets do our hands dirty...While chatting with your friends you must be wanting, what all latest things he's/she's hiding from me...???? And the answer I am going to teach you... While chatting with your friends just open your command prompt [(start >Programs>Accessories> Command prompt) or (start>run>cmd.exe)] And the next step is to type netstat -n in your command Prompt.... Now the complete list of I.P address is infront of you which are actually connected to your P.C. Now you have to goggle it on which port does your chatting software sits on. I assume that I am using yahoo chat(PORT No. 5050). Hence you get a close entries of your I.P addresses having Port no. 5...