Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

How to Ban Web Sites from your Computer
The Husaria: For Our Freedom and Yours ^ | July 20 2008 | Winged Hussar 1683

Posted on 08/25/2008 10:45:45 AM PDT by Winged Hussar

Web site advertising is often reasonable, and it is the way that many sites earn enough money to deliver their content.

...There are unfortunately advertisers that abuse the privilege of access to people’s computers by pushing ads–usually Shockwave Flash–with excessive bandwidth utilization that slows even DSL Internet connections noticeably. (We banned Doubleclick.net from our computer eight or nine years ago, when we were still using a dial-up connection, because it kept refreshing its banner ads.) Other ads superimpose themselves over the page content, and have no button on which to click to close them. Still others vibrate or jiggle back and forth, and are unpleasant to look at. Adding the domains to Internet Explorer’s “Red Circle” list does not keep them off one’s browser, either.

We have found that the following method (which is apparently what at least one shareware package does) will ban a Web site from all access to one’s Internet browser. You need to find the HOSTS file on your hard drive. Ours is at C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS. Edit it as follows to ban Web sites from your computer. Note that you have to add the virtual domain (e.g. ad.doubleclick.net) as well as the base domain (doubleclick.net). Note: the sample banned sites are not part of the original Microsoft material. (c) 1993-1999 Microsoft Corp. ends with ” # 38.25.63.10 x.acme.com # x client host.”

(Excerpt) Read more at husaria.wordpress.com ...


TOPICS: Computers/Internet
KEYWORDS: advertising; ban; flash; hosts; security; shockwave; url
Navigation: use the links below to view more comments.
first previous 1-2021-35 last
To: webschooner

You will get the blank popups when you have an ad blocker working but allow popups for the site.

It happens for me at mlb.com, since you have to allow popups to get the mlb.tv live games. Their ads will popup with blank windows.


21 posted on 08/25/2008 1:21:27 PM PDT by MediaMole
[ Post Reply | Private Reply | To 18 | View Replies]

To: HAL9000
It can also be evaded by simply converting a host name to an IP address.

If you want to black hole an IP address you can do that in the route table.

route add 216.73.86.55 MASK 0.0.0.0 127.0.0.1 -p

22 posted on 08/25/2008 1:24:49 PM PDT by tacticalogic ("Oh bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: All

mark


23 posted on 08/25/2008 1:27:53 PM PDT by AppyPappy (If you aren't part of the solution, there is good money to be made prolonging the problem.)
[ Post Reply | Private Reply | To 20 | View Replies]

To: Winged Hussar; ShadowAce

This a pretty good approach if all you are doing is looking to deny access to a few specific web sites. IMO, one is better off deploying a firewall on the perimeter of their network. Not only can it block specific hosts, but it can also enforce policies based on content, and what types of traffic are allowed.


24 posted on 08/25/2008 1:42:09 PM PDT by KoRn (CTHULHU '08 - I won't settle for a lesser evil any longer!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: dan1123

I just downloaded Ad Block Plus. I’m looking forward to trying it!


25 posted on 08/25/2008 2:07:13 PM PDT by Winged Hussar (http://moveonpleasemoveon.blogspot.com/)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Winged Hussar

I have used a HOSTS file for years and it works fine with Windows XP. However, a large enough HOSTS file will drag Windows 2000 Pro to a crawl, and so I don’t recommend it for that version of Windows.


26 posted on 08/25/2008 2:18:29 PM PDT by TexasRepublic (When hopelessness replaces hope, it opens the door to evil.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: McGruff

The key thing about the latter being, it can be set to auto-update.


27 posted on 08/25/2008 2:28:31 PM PDT by ROTB (Our Constitution [is] for a [Christian] people. It is wholly inadequate [for] any other. -John Adams)
[ Post Reply | Private Reply | To 9 | View Replies]

To: woollyone

Don’t forget Adblock too. You can even block specific images. For example, one particularly ugly avatar on another forum now comes up blank.


28 posted on 08/25/2008 3:27:00 PM PDT by SlapHappyPappy
[ Post Reply | Private Reply | To 4 | View Replies]

To: tacticalogic
If you want to black hole an IP address you can do that in the route table.

And if you want to get around the black hole, use a proxy.

29 posted on 08/25/2008 3:37:09 PM PDT by HAL9000 ("No one made you run for president, girl."- Bill Clinton)
[ Post Reply | Private Reply | To 22 | View Replies]

To: Schnucki

How do you edit it? When I open it in Notepad, make changes and then try to save it, it stops me. It says something has it open. I closed the browswer and Zonealarm. What else uses it?


30 posted on 08/25/2008 6:19:58 PM PDT by aimhigh
[ Post Reply | Private Reply | To 3 | View Replies]

To: Winged Hussar

I use the Firefox browser, plus:

Ad Aware extension - blocks ads.

Ad Aware Filterset.GUpdater - updates the blocked list

Add Art - Firefox extension that puts Japanese wood blocks where the ads were.

No Script extension - Firefox forbids scripting on the page unless you allow it.

Cookie Monster extension - Extension easily manages and forbids/removes cookies from ads that might sneak in, though few ever do.


31 posted on 08/25/2008 6:33:20 PM PDT by mountainbunny
[ Post Reply | Private Reply | To 1 | View Replies]

To: Winged Hussar

Bump, BTTT, As a bookmark


32 posted on 08/25/2008 8:47:07 PM PDT by Not now, Not ever! (The devil made me do it!,.......................................................( well, not really.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: aimhigh
Not sure why, but I just opened the file with notepad, pasted in the lines and clicked the save icon.

After that I went to a few websites and got lots of blank squares with the text "advertisement" in the middle.

I don't know if it matters, but I'm using XP, btw.

33 posted on 08/25/2008 10:26:44 PM PDT by Schnucki
[ Post Reply | Private Reply | To 30 | View Replies]

To: SlapHappyPappy

Is that a firefox add-on?


34 posted on 08/26/2008 6:00:47 AM PDT by woollyone ("When the tide is low, even a shrimp has its own puddle." - Vance Havner)
[ Post Reply | Private Reply | To 28 | View Replies]

To: woollyone

yup


35 posted on 08/26/2008 5:10:56 PM PDT by SlapHappyPappy
[ Post Reply | Private Reply | To 34 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-35 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson