• On BNET: Online porn struggles for profits
November 2, 2009 9:00 AM PST

Browse safely by blocking Web ads

by Dennis O'Reilly
  • Font size
  • Print
  • 8 comments
Share

Web ads aren't just annoying, they can also be the source of a malware infection that attempts to steal your identity. In her September 15, 2009 InSecurity Complex blog, Elinor Mills describes how ads are being used by criminals to trick people into buying fake antivirus software, among other nefarious purposes.

Technology to block the ads that appear on Web pages has been around for almost as long as the ads themselves. No doubt someone will point out the irony of a blog that relies on ads for its livelihood explaining how to prevent them from appearing. For better or worse, few people will actually take the time to use an ad blocker when they browse. I don't think online advertisers are losing much sleep over the technology—yet.

Skip the ads when viewing pages in Firefox
One of the most popular Firefox add-ons is Adblock Plus, which puts an "ABP" icon on the far right of the main menu. Click it (or press Ctrl-Shift-V) to view the blockable items on the current page. Choose the down arrow next to the icon to open the program's Preferences dialog, disable ads on the page or site, or select other options.

Adblock Plus blockable-items window

Click the Adblock Plus icon to view blockable items on the current page.

(Credit: Wladimir Palant)

Hovering over the Adblock Plus icon shows the add-on's status and the number of blocked and blockable items on the current page. You can also open the program's Preferences dialog by clicking Tools > Adblock Plus Preferences. There you can subscribe to an ad filter, import and export blocklists, view and reset your "hit" list, and change your view. Another option lets you remove the block tabs that appear by default on Flash and Java items.

Block ads in Internet Explorer
Back in January 2008, I called the free IE7Pro "(t)he only Internet Explorer 7 add-on you'll ever need." Well, the name's the same, but the program now works with IE 8 as well. Blocking ads in IE is as easy as downloading and installing IE7Pro, clicking Tools > IE7Pro Preferences, and checking Ad Blocker on the main Modules tab. The program blocks Flash, Java, pop-ups, pop-unders, and other types of Web ads.

Ad Blocker option in IE7Pro Preferences dialog

Activate ad blocking in Internet Explorer by choosing the Ad Blocker option in IE7Pro's Preferences dialog.

(Credit: IE7Pro Team)

To put a finer point on your IE ad blocking, select the AD Blocker option on the left side of the Preferences window. There you can enable the program's Flash blocker, which is off by default. You can also make changes to the IE7Pro filters, but you can't import or export filters as easily as you can using Firefox's Adblock Plus.

Use a proxy to squash ads in Chrome
It isn't surprising that Google decided not to include an ad blocker in its Chrome browser. After all, the company makes quite a bit of money from serving up those ads, so helping people to block them would be self-defeating. I found a couple of ad-blocking extensions for Chrome, but after taking a look at them, I just didn't trust them.

In one case, the home page of the extension's provider was crowded with ads itself. And another Chrome ad blocker I looked at had an unfinished appearance. The best solution I could find for blocking ads in Chrome is the Privoxy Web proxy, which is available on Source Forge. Configuring the add-on is a challenge, but a post on the GeekZone tech community boils it down nicely to seven steps.

Block ads in Opera, no add-ons required
The best way I found to block ads in the Opera browser is to use the program's built-in content blocker. To activate it, right-click anywhere on the page and choose Block Content. Only the blockable content on the page will be highlighted, and a toolbar appears at the top of the page. Choose an item to block it, and then click Done on the toolbar to reload the page minus the elements you selected.

To unblock an item, just reopen the Block Content toolbar and click the "Blocked Image" indicator. You can also view the URLs of all blocked items on a page, edit the entries, and add or delete items. There's no option to import or export a list of blocked URLs, however.

Bonus tip: Block ads and malicious sites via the free OpenDNS proxy service
Perhaps the greatest security resource on the Web is the free OpenDNS proxy service, which sends all your Internet traffic through a well-maintained set of filters to screen out ads as well as sites known to host malicious content. You can use the OpenDNS service to block gambling, adult, and other specific types of sites. For instructions on using OpenDNS, see Becky Waring's article "Use OpenDNS to surf safely with these tricks" on the Windows Secrets site.

Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET blog Network, and is not an employee of CNET.
Recent posts from Workers' Edge
The best of Windows 7's new interface features
Four ways to reduce your PC's carbon footprint
Five tips for safe Web shopping
Browser security features compared
Essential Firefox security add-ons
Troubleshoot Microsoft Word printer problems
Troubleshoot Windows 7 upgrade woes
Browse safely by blocking Web ads
Add a Comment (Log in or register) (8 Comments)
  • prev
  • 1
  • next
by jake3373 November 2, 2009 12:52 PM PST
Doesn't CNET get $$$ from ads...
Reply to this comment
by doreilly November 2, 2009 2:40 PM PST
Please see the second paragraph of the above post for an explanation.

Thanks,
Dennis
by john55440 November 3, 2009 6:37 AM PST
Yup, just the other day I ran into a scareware ad. As soon as it pretended to do a file scan of my system, I immediately closed my browser and got the heck out of there. I was trying to turn the ad's sound off, but I apparently activated the ad instead.

Not to self: Mute my sound card, and don't click anywhere near ads.
Reply to this comment
by GangstaBoyC November 4, 2009 7:25 AM PST
What about safari????????
Reply to this comment
by GangstaBoyC November 4, 2009 7:25 AM PST
What about safari???????? (for windows)
Reply to this comment
by maniopas November 4, 2009 10:44 AM PST
Well, I was under the impression that some Internet Security programs had add-blocking options in them. (At least, I am quite sure that Zone Alarm closed an add in my Firefox two years ago, however it could be that there was some active script in it.) Please correct me if I am wrong...
Anyway, just don't click on adds and there will be no problem with them. Of course, some adds have sound in them and that could be much annoying. (I still remember when I accidentally passed my mouse over an add about predicting your death time with the consequence of an evil laugh sounding in a 600 Watt stereo system that was playing the party music. Talk about creepy... :P) However, I have developed a technique for myself that could be fine with anyone wishing to do so; simply, as soon as the page information I need is displayed and I know the page has some add with sound, I stop my browser from loading the rest of the page. (Yes, I know, that this is called freaking stupidity, but still...)
Reply to this comment
by eiverson November 6, 2009 1:29 PM PST
Ads can be awfully annoying. I'm sometimes frustrated by my countermeasures sometimes suppressing legitimate functionality such as on some blogs. In fact, I was just on a Google hosted blog where I ran into this.

As an "Internet Security programs" vendor, we employed a different approach, from an anti-malware perspective. We place each web browser 'under guard' such that if a programming mistake in a web browser were exploited (i.e., malware attack), AppGuard would prevent the web browser from spawning any arbitrary executables in user-space (i.e., drive-by download attack), do any harm to the PC or its applications, or do harm or steal user files located within the user-designated 'private' folders. We call this last feature Privacy Mode.

So, while this doesn't snuff out all of those annoying ads, it allows users to web browse as they wish, safe from malware attacks from hacked or otherwise malicious websites.
Reply to this comment
by krosafcheg November 17, 2009 2:23 AM PST
Fanboy has ad blocking solutions for nearly all the popular we browsers

http://www.fanboy.co.nz/adblock/
(8 Comments)
  • prev
  • 1
  • next
advertisement

The yogurt makers of tech: Gadgets to avoid

Don't buy these one-trick ponies--unless you like gizmos that gather dust.

Google wants to unclog Net's DNS plumbing

The Net giant, ever eager for a faster Internet, debuts its Google Public DNS service. With it, Google could become even more central to the Net.

advertisement

About Workers' Edge

Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET Blog Network and is not an employee of CNET.

Add this feed to your online news reader

Workers' Edge topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right