The Junkbuster HTTP proxy can block banner advertisements by using a blocklist similar to that used by censorware. This has some of the same drawbacks as censorware: very often throwing out the baby with the bathwater. This opens up a few ways to confuse Junkbuster:

  1. If you serve all your images from the same CGI script on the same server (e.g. and you don't namespace your ads conspicuously, Junkbuster won't be able to tell the site's logo or navigation graphics from a banner and will block all images if it blocks any at all.
  2. If you haven't already burned your GIFs, use animated GIFs for all GIF images on the site. The user won't be able to detect this because the animations will be simple two-frame animations with the second frame completely transparent, but if Junkbuster is set to throw out all animated GIFs (for sites that pull tricks like in 2), it'll throw out all GIFs.
  3. OK, now the user has either succumbed to your banners or turned off all images. You can still advertise to them, and even to those using character-cell web browsers such as lynx or w3m, by putting a sales pitch in the alt attribute in the <img> tag.

Defeating 'using one server for all images' by using Junkbuster

Junkbuster's blocklist is created and editable by the user, not by, for instance, cyberpatrol. The list also has 'allow' entries. Entries are processed in order, and the last entry to match sticks. This allows the user to construct much more powerful rulesets than cyberpatrol. Junkbuster, being an open source project, has been improved significantly since this writeup was written, and has been renamed 'Privoxy'. Text in itallics reffers to this new version, while normal text reffers to the older junkbuster, as was available at the time this writeup was initially written.

  1. The user can use a ruleset that blocks the entire images server, and then allows only the images that are used for navigation:
    Though the user would have to discover the obfuscated names of the navigation images, it wouldn't take that much effort. This technique could be thwarted by changing the URLs used for navigation images every so often, but this would have the side effect of reducing the effectiveness of caching of your site, thereby increasing your bandwidth bill.
  2. Old versions of Junkbuster on their own are indeed defeated by this technique, though if Mozilla is used as a browser it can be set to prevent animated GIFs from looping, lessening the impact of the banners while leaving the navigation images unaffected. Newer versions of Junkbuster (now called Privoxy) can modify animated gifs sent to the browser, allowing this technique to be used with any web browser.
  3. On the one hand, there is something clever about displaying adverts in a text-based browser, but on the other hand, this is exactly what you're supposed to be doing - <ALT> tags are supposed to provide a textual description of any image that is important to the page. Arguably, the user of a text-based browser may be interested in your advert and want to view it. If (instead of switching images off) the user of a graphical browser sets junkbuster to block the images, then they display as transparent webbugs and don't get an alt-text. Newer versions of junkbuster can edit the web page before it is passed to the browser, and so could remove your alt-text adverts from the HTML, preventing them from being displayed even on a text-based browser

Log in or register to write something here or to contact authors.