Tuesday, February 23, 2010

how to Block Ads while surfing... without Firewall/Ad blocker

Hi frienz... I'm back again. Many of us get fed up with the damn blinking Ads and their respective URLs while surfing the internet. So, we get frustrated. Better be cool, and just think. If we can redirect a URL (DNS) then we can also Block it [Redirect it to Localhost]. So Why don't use it for Blocking Sites/AD URIs. It would be great to do so without configuring firewall, also many Browsers say Chrome Doesn't Support Plugins like Ad Blocker, so it will be boon for those users.

So here is the way you can do it.

> Open Notepad
> File -> Open -> Copy the quoted text "%systemdrive%\WINDOWS\system32\drivers\etc\hosts" And Press enter to load up the file.
> It Should Look like the one below.

Copy the below code....

# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# rhino.acme.com # source server
# x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# localhost
# ::1 localhost

> Now Go to Edit -> Select All -> Press Delete.
> Copy the Text from here and Paste it in the Notepad and Save it.

Done! Now you should be able to Speed up the net by a teensy weensy bit [Great for Dialup / Net-From-GPRS Users].Plus no more of those irritating images and ADs.

Enjoy !

By, M.Abhiram

1 comment: