Tracking Protection List in IE9

Posted by Emanuele Bartolesi on Geeks with Blogs See other posts from Geeks with Blogs or by Emanuele Bartolesi
Published on Thu, 30 Jun 2011 09:21:20 GMT Indexed on 2011/06/30 16:23 UTC
Read the original article Hit count: 185

Filed under:

To protect the privacy when I surf over the internet, I use AdBlockPlus add-in for Firefox. But when I use Internet Explorer 9, this add-in don’t work.
Internet Explorer 9 (and I hope Internet Explorer 10) has built in feature to add a TPL. There is a javascript function to call named msAddTrackingProtectionList. This function has two parameter: the first one is the link of TPL and the second one is the Title of TPL.
To do this is very easy. Add this simple javascript function on your website or in a blank html page.

<a href="javascript:window.external.msAddTrackingProtectionList('http://easylist-msie.adblockplus.org/easyprivacy.tpl', 'EasyList Privacy')">EasyPrivacy TPL</a>

The effect is below:
EasyPrivacy TPL

After click appears a confirmation prompt.


For security reason this javascript function can only be called from a user interaction: buttons, links, forms.
For more information about msAddTrackingProtectionList function  go to Msdn Library.
For more information about EasyList go to Easy List TPL.

© Geeks with Blogs or respective owner