Find out what I'm doing, Follow Me :)

Wednesday, November 04, 2009

IE8: Ad blocking with the InPrivate Filter

There's an interesting article up on Neowin about how one can implement an effective ad blocker in IE 8 using the browser's InPrivate Filtering. Turns out it's not hard at all. Because it's built-in.

IE8 actually contains a great Ad blocking feature built-in, it's called "InPrivate Filtering". The InPrivate Filter (enabled by pressing CTRL+SHIFT+F) is intended to block content that may potentially share your information; thankfully advertisements are one such example of said content.
The InPrivate Filter is 'smart' in the sense that it can and will (if enabled) automatically detect content which appears with a high frequency on websites that you visit. In this regard, the Filter learns as you use the web and can detect what is an advertisement or of similar content, and take action accordingly. By entering the 'Manage Addons' window, you can select how many websites a piece of content must show up on before it is flagged, at which point you can then determine whether you want to block or allow such content.
Given the functionality of the InPrivate Filter, it seems that all that is required is a "Subscription List" containing the locations of advertisements for the filter to function as other Adblock applications. This is similar to a "Block List" in Adblock Pro and equivalent software. With such a list, it should be possible to simply block certain locations outright without relying on IE to learn from your browsing habits.
With regards to a subscription list that will block advertisements outright without having to 'learn' your browsing habits, I am in the process of searching for such. I have stumbled across this link where someone has compiled an XML file of the blocked URL's from Adblock Plus.

In order to Import these URL's into the InPrivate Filter, you must enter your "Manage Addons" window, accessible via Tools > Manage Addons. Click the InPrivate Filtering button, followed by Import and then locate the XML file. The result should be IE8 blocking content from said providers outright, without the need to learn via your browsing habits. Doing so has blocked about 99% of the advertisements I see while browsing with IE8.

To make it automatically enabled whenever you open the browser:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE]


0 - off
1 - auto
2 - manual

Thanks to Manos P. and Mitchel T. for the tip.


If you’re using Internet Explorer 9 which is in Beta as of this writing, create/rename the DWORD value named FilteringMode (instead of StartMode) and set 1 as the data. Thanks, slinky333.

blog comments powered by Disqus
Related Posts with Thumbnails