Ad Blocking in Internet Explorer 9

The Release Candidate (RC) for IE 9 recently became available for download and there were many changes from the previously available Beta release.  The RC version appears to be quite popular with over 2 million downloads in the first 24 hours.  To see the new features or download the installer visit this Microsoft site.

One of the big changes is how the browser handles ad-blocking.  The Beta version had “InPrivate Filtering” which I discussed previously.  The RC has renamed this feature to “Tracking Protection” and expanded the functionality.  Additionally, there is now optional blocking of Java scripts called “ActiveX Filtering”.  Both of these features can be accessed through the Tools drop-down menu, under the Safety option.


A click on “Tracking Protection” opens the “Manage Add-ons” window where you can see what ad blocking lists you have set up.


In the example shown above the first three lists are subscriptions (MS calls these Tracking Protection Lists) that are available from this Microsoft site.

If you visit a site where Tracking Protection blocks some content (i.e., ads or java) a small blue-colored indicator will light up in the address/search box.


If your video seems stalled or a message pops up saying you need to install java, click on the blue icon to get pop-up blocking options.


To get java scripts to work, select “Turn off ActiveX Filtering”.   Your choices appear to be remembered on a per site basis.

The IE9 RC is very effective at blocking ads, even those tough to block flash ads.  And, with a subscription model for blocking lists, promises to keep up with ad technology.  IE9 also has many other nice features which I expect will improve the perception of Internet Explorer.
Related Post: Do It Yourself Do Not Track (DIY-DNT) for Firefox and Internet Explorer


Blocking Ads in IE 8 (and IE 9 Beta) with InPrivate Filtering

There is no need for a 3rd-party add-in to block annoying advertisements in Internet Explorer now that “InPrivate Filtering” is included.   This post will describe the procedures for getting the best ad-blocking performance from this new feature.

First, InPrivate Filtering is available under the “Tools/Safety” menu.  It should not be confused with “InPrivate Browsing” which is a completely different operation.  InPrivate Filtering addresses potential tracking of your web use via advertisements – according to Microsoft:

When you visit a website with third-party content, some information about you is sent to the content provider. If a content provider offers content to a large number of the websites you visit, the content provider could develop a profile of your browsing preferences. Profiles of browsing preferences can be used in a variety of ways, including for analysis and serving targeted advertisements.

I tried it and it works OK, but there were some issues:

  • only a few ads were blocked
  • Microsoft does not supply any list of ad sites to block as an importable HTML file. 
  • the default setting was not “Always block”
  • InPrivate Filtering defaults to off for each new browser session

After a bit of research, all of these issues were solved by a few simple procedures, which I will share below.

Block more Ads

Download the current ad block list from this site.  Unzip the list.  In IE go to the Tools/Safety/InPrivate Filtering Settings menu.  Click “Advanced Settings” (lower left corner of the settings window).  In Advanced Settings click the “Import” button and locate the unzipped list file (should be a .xml file).

Always On and “Always block”

A simple registry edit is needed to both turn on InPrivate Filtering by default and set it to “Always block”.  At the same site linked to above in Block more Ads, you will also find the files “InPrivate Filtering Always On” and “InPrivate Filtering Always on IE9”.   These are registry patches for IE8 and IE9, respectively.  Choose the one correct for your browser version, download and unzip the file.  Double-click the .reg file to make the necessary change to your registry.

Updating Adblock Lists

If you have set up as described above and later find a more recent ad blocking list you want to use, go to “Advanced Settings” again and remove your current list before importing the newer list.

CookieEater — Visual Basic Application

This is a simple cookie deletion tool, that handles the selective deletion of cookie files in one user-specified folder. The idea behind this is the use of keywords (specified by the user) to give some flexibility in choosing cookies to keep.  If a keyword does not appear anywhere in the cookie file name then that cookie will be marked for deletion.  So for example, if ‘forum’ is entered as a permitted keyword, then any cookies with ‘forum’ in their name would be saved. In the user interface (shown below) the cookies to be deleted have a check mark, which can be un-checked by the user.


If the ‘Use Keyword list’ option is un-checked, then all cookies will be checked for deletion.  The buttons under the ‘Permitted Keyword List’ are used to Add, Remove or Reset the list items, respectively. To perform the deletion click the big ‘Eat up!’ button on the upper right.   Click the little ‘question mark’ button to display help.

To automatically run the program with your settings, add it as a task in Task Scheduler, using the /a command line argument ‘CookieEater.exe /a’.

The installation files can be found by following the download link.  Download, unzip and run setup.exe.