Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
Locate the "hosts" file for your computer. For my computer (Windows XP) the file was located at: C:\WINDOWS\system32\drivers\etc
Once you've found this folder, look for a file called 'hosts' (with no file extension). Open it up in notepad and add this line:
This will block all YPN ads by redirecting the request to your localhost, thus making the ads invisible. :D
I hope this helps those people who were looking for a way to block their ads from their family.
I don't need to use this, but it's good to know. Might be handy when testing your sites online, when you need to refresh a page a million times.
By the way, if you are planning on blocking Adsense ads you might want to add all:
Adsense sometimes uses different servers when serving ads, so I'd add all 3 to be safe! :)