Re: ad.doubleclick.net blocks IE's Back button

Discussion in 'Internet Explorer' started by Robert Morley, Mar 6, 2007.

  1. FYI, I've noticed this same behaviour (ads being added to the back button)
    ever since I changed my hosts file to an ad-blocking hosts file from
    http://mvps.org/winhelp2002/hosts.htm. It redirects most common ad sites to
    127.0.0.1, effectively preventing them from ever loading. It seems to be a
    bit of a trade-off...if they're in my Restricted Sites AND in my hosts file,
    they're not added to the history, but in XP SP2, I get a message popping up
    for every single time one of them is on a web page...which gets damned
    annoying when it's two or three ads on every page load, every refresh, every
    everything. If they're only in my hosts file, on the other hand, there's no
    error, but the site gets added to my history, even though the IFrame didn't
    actually load anything. And finally, if they're only in my Restricted
    Sites, because they're in an IFrame, the Restricted Sites rules seem to be
    ignored, and the ad comes through just fine, which is obviously undesirable.

    Interestingly enough, with the ad sites only in the hosts file and not in
    your Restricted Sites, when you scroll through pages on a web site, they get
    added to your history in sequential order WITHOUT the ads in-between. The
    ad sites always seem to be bumped to the top of the list. Since the IFrames
    aren't actually loading anything, my impression is that this is indeed an
    IE7 bug and has nothing to do with any code contained in the IFrame.

    This behaviour is also documented in the FAQ file for the Hosts file I
    downloaded...see: http://mvps.org/winhelp2002/hostsfaq.htm#Button

    So it seems to be a matter of picking your poison. Which problem do you
    find least annoying? Personally, I've opted for hosts file only and I'll
    cope with the back button listing the additional sites.



    Rob

    "Kai Schaetzl" <> wrote in message
    news:...
    > _dee schrieb am Tue, 06 Mar 2007 00:47:25 -0500:
    >
    >> It seems odd that there are no direct workarounds short of practiaclly
    >> disabling the site. I did follow up on the suggestion about placing
    >> IMDB in Restricted Sites, and it did keep the ads.. url out of the
    >> back button. But now I can't get to extended pages on IMDB.

    >
    > Well, it disables all Javascript ...
    >
    >>
    >> Also, that would seem to require adding tons of URLs to Restricted
    >> Sites. You'd think there would be a generalized solution to this.
    >>
    >> >Ahm, what happens when you go straight to
    >> >http://servedby.advertising.com/site=710882/bnum=565386/size=728090/tags=1/optn=1
    >> >?

    >>
    >> Got a 404 at that exact URL. Trying the root site gave a signin
    >> screen.

    >
    > A 404 from who? IE? The site?
    > What is it that you mean by "root site"?
    > http://servedby.advertising.com/
    > or just
    > http://advertising.com/
    > ?
    >
    > I'm trying to find out if the entry in your hosts file is *really* used.
    > Try navigating to the sites you put in your hosts file. Can you access
    > these are do
    > they time-out/"cannot display"?
    >
    > Kai
    > --
    > Helpsites about Windows: http://www.mvps.org
    > IE repair script: http://iefaq.info
    >
     
    Robert Morley, Mar 6, 2007
    #1
    1. Advertising

  2. >> annoying when it's two or three ads on every page load, every refresh,
    >> every
    >> everything. If they're only in my hosts file, on the other hand, there's
    >> no
    >> error, but the site gets added to my history, even though the IFrame
    >> didn't
    >> actually load anything.

    >
    > But I think you can click this undesired entry and IE goes to this "page"
    > and
    > displays the "cannot display" page. Does it do this?


    If I click on the entry in the history, it simply refreshes it (with the
    "cannot display" page) in the IFrame.

    > Yes, they describe it there, thanks. But this means, it's *not* specific
    > to
    > IE7, but happens with IE6 SP2 as well when an iframe cannot be fetched or
    > at
    > least it's connected to that somehow.


    Quite likely, yes. I wouldn't know, since I haven't tried using a hosts
    file to block ads until just now.

    > I use a hosts file for blocking. And I have a web server running on it
    > that
    > answers with a red one-pixel gif image to every request to 127.0.0.1.


    They do mention a small utility called Homer on the website I mentioned,
    which basically intercepts calls to 127.0.0.1 on the local machine, so maybe
    I'll give that a try and see if it prevents the problem.

    I'm not entirely sure how you serve red-pixel.gif in place of the ad, but
    one problem at a time: first I'll download and install Homer (or if it's
    unsuitable for some reason, I'll try Apache), then I'll go from there.



    Rob
     
    Robert Morley, Mar 7, 2007
    #2
    1. Advertising

  3. FYI, I installed and ran Homer, and voila, problem is gone. And talk about
    a small footprint: 283K exe! (Peak memory usage after only browsing a few
    pages was 5600K; current memory usage is just under 3800K.)


    Rob

    "Kai Schaetzl" <> wrote in message
    news:...
    > Robert Morley schrieb am Tue, 6 Mar 2007 11:04:21 -0500:
    >
    > Hi Robert,
    >
    > thanks for that interesting extra information.
    >
    >> FYI, I've noticed this same behaviour (ads being added to the back
    >> button)
    >> ever since I changed my hosts file to an ad-blocking hosts file from
    >> http://mvps.org/winhelp2002/hosts.htm. It redirects most common ad sites
    >> to
    >> 127.0.0.1, effectively preventing them from ever loading. It seems to be
    >> a
    >> bit of a trade-off...if they're in my Restricted Sites AND in my hosts
    >> file,
    >> they're not added to the history, but in XP SP2, I get a message popping
    >> up
    >> for every single time one of them is on a web page...

    >
    > This is also mentioned on the winhelp2002 site. That probably happens
    > because
    > the page cannot be fetched. In this case IE would generate it's own
    > "cannot
    > display" page (which resides in shdocvw.dll in IE6) and thus prompts you
    > because it navigates to a different security zone. Which means if you can
    > avoid the "cannot display" page this should stop to happen. (see below)
    >
    > That this stops from happening when you add the site to Restricted Sites
    > might
    > indicate that it is actually a script in there that produces this
    > undesired
    > history addition effect. iframes are not shut off in Restricted Sites. But
    > "programs and files" in iframes are disabled by default in this zone.
    >
    > which gets damned
    >> annoying when it's two or three ads on every page load, every refresh,
    >> every
    >> everything. If they're only in my hosts file, on the other hand, there's
    >> no
    >> error, but the site gets added to my history, even though the IFrame
    >> didn't
    >> actually load anything.

    >
    > But I think you can click this undesired entry and IE goes to this "page"
    > and
    > displays the "cannot display" page. Does it do this?
    >
    > And finally, if they're only in my Restricted
    >> Sites, because they're in an IFrame, the Restricted Sites rules seem to
    >> be
    >> ignored, and the ad comes through just fine, which is obviously
    >> undesirable.

    >
    > They don't get ignored. Restricted Sites restricts only script execution
    > and
    > such, not iframes. An iframe is just an inline frame and more or less the
    > same
    > as a "normal" frame, it's a viewing area where a ressource, typically a
    > website
    > can be loaded. If you look at the source code you will also see that they
    > usually take care that the ad gets shown, anyway. Which means they load
    > the ad
    > by iframe, an alternative script, a noscript portion and maybe yet another
    > means. Just so, if one option is blocked still the other is carried out.
    > In
    > case the options are mutually exclusive they use a cookie that prevents
    > the
    > second method from firing. Of course, this can also backfire. For instance
    > because of the extra ad blocking the cookie may not get set and only this
    > somehow produces the undesired extra entry. (This is speculation.)
    >
    >>
    >> This behaviour is also documented in the FAQ file for the Hosts file I
    >> downloaded...see: http://mvps.org/winhelp2002/hostsfaq.htm#Button

    >
    > Yes, they describe it there, thanks. But this means, it's *not* specific
    > to
    > IE7, but happens with IE6 SP2 as well when an iframe cannot be fetched or
    > at
    > least it's connected to that somehow.
    >
    >>
    >> So it seems to be a matter of picking your poison. Which problem do you
    >> find least annoying? Personally, I've opted for hosts file only and I'll
    >> cope with the back button listing the additional sites.

    >
    > Well, as I mentioned above, there may be a cure for this, but not for
    > everyone.
    > You need to do a little bit for this.
    > I do extensive ad blocking myself, but I don't use a local hosts file. And
    > I do
    > not see this problem at all. I use a proxy in my network and on *that*
    > machine
    > I use a hosts file for blocking. And I have a web server running on it
    > that
    > answers with a red one-pixel gif image to every request to 127.0.0.1.
    > So, each time an ad is blocked I either get a tiny red pixel inserted (if
    > the
    > image or ressource doesn't tell the size) or the complete banner area is
    > painted in red (in case the HTML code tells an image size). I originally
    > did
    > this because scripts fetching such a non-existent resource can keep a web
    > page
    > from rendering until it finally times out after quite a while. If I serve
    > an
    > image for those requests this doesn't happen.
    >
    > This same method seems to avoid those extra iframe entries in the history.
    > So, if you have a network you could do the same as I did. Or if you want
    > or
    > have to keep the solution on the same machine as IE you can install a web
    > server and serve a red-pixel.gif from there. I suggest using Apache for
    > this.
    > It has small footprint, runs as a service (so once it's configured you
    > just
    > forget about it) and is easily installed and configured (at least for a
    > simple
    > serving from 127.0.0.1).
    > If you have a webserver somewhere else that has its own IP number you
    > could
    > also reuse that. Serve a red-pixel.gif from the raw IP number and point
    > the
    > hosts file to that IP number instead of 127.0.0.1.
    >
    > Hope this helps. If you or someone else tries this, tell me if you history
    > pollution went away.
    >
    > Kai
    > --
    > Helpsites about Windows: http://www.mvps.org
    > IE repair script: http://iefaq.info
    >
     
    Robert Morley, Mar 7, 2007
    #3
  4. I see both the security warning AND the history pollution with friendly
    errors turned off (which is how I usually leave it set).


    Rob

    "Kai Schaetzl" <> wrote in message
    news:...
    > NB: I just hear, that shutting off the "friendly http errors" in internet
    > options, advanced (which one should do, anyway) is supposed to stop that
    > security warning. I don't know if it also stops the pollution of the
    > history button. But worth a try for anyone before trying Homer ;-)
    >
    > Kai
    > --
    > Helpsites about Windows: http://www.mvps.org
    > IE repair script: http://iefaq.info
    >
     
    Robert Morley, Mar 7, 2007
    #4
  5. As you can see in my reply, that didn't work for me, so maybe there's
    something else at play as well here.


    Rob

    "_dee" <> wrote in message
    news:...
    > On Thu, 08 Mar 2007 00:31:37 +0100, "Kai Schaetzl"
    > <> wrote:
    >
    >>NB: I just hear, that shutting off the "friendly http errors" in internet
    >>options, advanced (which one should do, anyway) is supposed to stop that
    >>security warning. I don't know if it also stops the pollution of the
    >>history button. But worth a try for anyone before trying Homer ;-)
    >>
    >>Kai

    >
    > I hope I'm not speaking too soon, but it appears that disabling
    > 'friendly http errors' stops the 'ads' URL from appearing in the back
    > button. No idea why.
     
    Robert Morley, Mar 8, 2007
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hal

    ad.doubleclick already tying up new computer

    Hal, May 2, 2007, in forum: Windows Vista General Discussion
    Replies:
    2
    Views:
    243
    Mellowed
    May 2, 2007
  2. whywontthiswork

    Doubleclick and Enter not working in explorer

    whywontthiswork, Feb 18, 2009, in forum: Windows Vista File Management
    Replies:
    0
    Views:
    500
    whywontthiswork
    Feb 18, 2009
  3. JimR
    Replies:
    1
    Views:
    1,419
    Opinicus
    Feb 24, 2007
  4. braxx20

    Removing ad.doubleclick, etc

    braxx20, Mar 19, 2008, in forum: Internet Explorer
    Replies:
    7
    Views:
    585
    braxx20
    Mar 20, 2008
  5. Raylex
    Replies:
    1
    Views:
    220
    zachd [ms]
    Oct 2, 2003
Loading...

Share This Page