sunlabs.brazil.proxy
public class JunkBusterHandler extends Object implements Handler
Other approaches to removing ads are to filter the HTML returned and (1) remove the ads altogether or (2) change the href in the ads to point to a different bitmap. The advantage of option (2) is that all ads can be changed to point to the same bitmap, increasing the caching performance of the browser.
Properties:
Method Summary | |
---|---|
boolean | init(Server server, String prefix) |
Regexp | loadUrls(Properties props, String prefix, String file) |
boolean | respond(Request request) |
boolean | sendReplacementImage(Request request) |