none
AdBlock for IE

    Question

  • I write something like adblock for ie. It has to parse the page, find unwanted ads and replace them with wanted ads.
    The problem i faced is when to parse and what to parse.
    My first idea was to do parsing in a temporary mime filter, but in this case there is a lot of "unresolved" code (internal/external scripts that can modify documen and are executed after parsing).
    It is also possible to make filter for image/*, load wanted ad myself and return it in filter's Read method but i have to modify ad's "href" so the problem is not solved completely. Also, this approach does not work for activex(flash).
    After that i tried to parse DOM from BHO, but in this case unwanted objects are displayed for a while before I can replace them.
    So the best soluton whould be to parse DOM while it is being built or before it is rendered. Or may be to receive something like BEHAVIOREVENT_CONTENTREADY for commom elements.

    Any ideas on how to solve described problem?
    Thursday, September 14, 2006 11:49 AM

Answers

  • I'm using AdMuncher with IE7 now, in Vista, and it works pretty well. Not the same smooth integration as with AdBlock, but still pretty good. I'm actually considering switching from Firefox til IE7. :)
    Monday, October 30, 2006 7:38 AM

All replies

  • If we assume that mshtml worlks like msxml (see the diagram)

    http://msdn.microsoft.com/library/en-us/xmlsdk/local/Local_-183538986_domparser1.gif

    then true filtering can be mabe when the DOM is built or when it is written to the application(IE). Is that possible?

    Thursday, September 21, 2006 1:53 PM
  • You've outlined the common approaches. 

    At the moment, you aren't able to operate on the page in mid-DOM construction, so you have to decide which tradeoffs you'd like to make.

    -Eric

    Saturday, September 23, 2006 3:18 AM
  • there seems to be some effors similar on codeplex.com
    http://www.codeplex.com/Wiki/View.aspx?ProjectName=AdBlocker
    Saturday, September 23, 2006 9:05 AM
  • Looks like that project is no more... Too bad! Adblock is really what stops me from leaving Firefox and going over to IE7.
    Wednesday, October 18, 2006 6:38 PM
  • same here..

    however, note that this guy wasn't trying to create AdBlock, but instead to substitute ads with other ads..

    there is not such thing as "good" ads that can't be removed in the real AdBlock

    Monday, October 30, 2006 2:02 AM
  • I'm using AdMuncher with IE7 now, in Vista, and it works pretty well. Not the same smooth integration as with AdBlock, but still pretty good. I'm actually considering switching from Firefox til IE7. :)
    Monday, October 30, 2006 7:38 AM
  • Another Adblock alternative for IE is IE7Pro, it is a free Add-On for IE 7, present on the MarketPlace Web Site.
    Saturday, February 10, 2007 9:09 PM
  • Here is another Ad Blocker for IE that is part of the Quero Toolbar:

    http://www.quero.at/

    Monday, February 12, 2007 10:15 AM
  • well, "adblock pro" would match your need.

    adblockpro.com

    • Proposed as answer by phansen78 Friday, July 17, 2009 2:20 PM
    Sunday, June 17, 2007 2:54 PM
  • Since this thread is a little old, I would like to add that there is a new free adblocker for IE available.
    It is called simple adblock: http://simple-adblock.com and so far it has worked impeccable
    • Proposed as answer by cunningerness Sunday, November 01, 2009 5:43 PM
    Tuesday, September 15, 2009 11:19 AM
  •  simple adblock: http://simple-adblock.com and so far it has worked impeccable

    > Simple Adblock is supposed to be easy for everyone to use.
    >  Therefore that is not an option, but we are working on a way
    > to make it easy to edit filters and hide elements.

    Will this be emulating the firefox extension: Karma Blocker?
    https://addons.mozilla.org/en-US/firefox/addon/5230

    EXCELENT plan using the exact adblock plus format
    http://adblockplus.org/en/filters
    http://adblockplus.org/en/subscriptions

    ^ does that mean full support for adblock plus 1.1 filters?????

    does it have context menu entries to bllock flash and other objects like Adblock Pro (for ie)?

    what kind of 'free' is simple adblock?   OSS,  freeware, nefarious plans?      



    Any plans to emulate these other greatt firefox     extensionns:

    requestpolicy
    noscript (abe)
    refcontrol
    better privacy
    stylish
    greasemonkey

    yet another remove it permanently

    remove it permanently

    platypus


    xpath?   css    selectors?




    tolerate nothing wrong
    Sunday, November 01, 2009 4:36 PM