Add explanation for send-banner?type=custom in default.filter. See
[privoxy.git] / default.action.master
1 ######################################################################
2
3 #  File        :  $Source: /cvsroot/ijbswa/current/default.action.master,v $
4
5 #  $Id: default.action.master,v 1.7 2003/02/20 14:00:55 hal9 Exp $
6 #
7 #  Purpose     :  Default actions file, see
8 #                 http://www.privoxy.org/user-manual/actions-file.html
9 #
10 #  Copyright   :  Written by and Copyright
11 #                 Privoxy team. http://www.privoxy.org/
12 #
13 #                 Based on the Internet Junkbuster originally written
14 #                 by and Copyright (C) 1997 Anonymous Coders and
15 #                 Junkbusters Corporation.  http://www.junkbusters.com
16
17 # Note: Updated versions of this file will be made available from time
18 #       to time. Check http://sourceforge.net/project/showfiles.php?group_id=11118
19 #       for updates and/or subscribe to the announce mailing list
20 #       (http://lists.sourceforge.net/lists/listinfo/ijbswa-announce) if you
21 #       wish to receive an email notice whenever updates are released.
22 #
23 # We value your feedback. However, to provide you with the best support,
24 # please note:
25 #  
26 #  * Use the support forum to get help:
27 #    http://sourceforge.net/tracker/?group_id=11118&atid=211118
28 #  * Submit feedback for this actions file only through our
29 #    actions file feedback script: http://www.privoxy.org/actions
30 #  * Submit bugs only through our bug forum:
31 #    http://sourceforge.net/tracker/?group_id=11118&atid=111118 
32 #    Make sure that the bug has not already been submitted. Please try
33 #    to verify that it is a Privoxy bug, and not a browser or site
34 #    bug first. If you are using your own custom configuration, please
35 #    try the stock configs to see if the problem is a configuration
36 #    related bug. And if not using the latest development snapshot,
37 #    please try the latest one. Or even better, CVS sources.
38 #  * Submit feature requests only through our feature request forum:
39 #    http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse
40 #      
41 # For any other issues, feel free to use the mailing lists:
42 # http://sourceforge.net/mail/?group_id=11118
43 #    
44 # Anyone interested in actively participating in development and related
45 # discussions can join the appropriate mailing list here:
46 # http://sourceforge.net/mail/?group_id=11118. Archives are available
47 # here too.
48
49 #############################################################################
50 # Syntax
51 #############################################################################
52
53 # To determine which actions apply to a request, the URL of the request is
54 # compared to all patterns in this file. Every time it matches, the list of
55 # applicable actions for this URL is incrementally updated. You can trace
56 # this process by visiting http://i.j.b/show-url-info
57 #
58 # There are 4 types of lines in this file: comments (like this line),
59 # actions, aliases and patterns, all of which are explained below.
60 #
61 #############################################################################
62 # Pattern Syntax
63 #############################################################################
64
65 # 1. On Domains and Paths
66 # -----------------------
67 #
68 # Generally, a pattern has the form <domain>/<path>, where both the <domain>
69 # and <path> part are optional. If you only specify a domain part, the "/"
70 # can be left out:
71
72 # www.example.com 
73 #   is a domain-only pattern and will match any request to www.yahoo.com
74
75 # www.example.com/
76 #   means exactly the same (but is slightly less efficient)
77
78 # www.example.com/index.html
79 #   matches only the document /index.html on www.example.com
80
81 # /index.html
82 #   matches the document /index.html, regardless of the domain
83
84 # index.html
85 #   matches nothing, since it would be interpreted as a domain name and
86 #   there is no top-level domain called ".html".
87
88 # 2. Domain Syntax
89 # ----------------
90
91 # The matching of the domain part offers some flexible options: If the
92 # domain starts or ends with a dot, it becomes unanchored at that end:
93
94 # www.example.com
95 #   matches only www.example.com
96
97 # .example.com
98 #   matches any domain that ENDS in .example.com
99
100 # www.
101 #   matches any domain that STARTS with www.
102 #
103 # .example.
104 #   matches any domain that CONTAINS example
105 #
106
107 # Additionally, there are wildcards that you can use in the domain names
108 # themselves. They work pretty similar to shell wildcards: "*" stands for
109 # zero or more arbitrary characters, "?" stands for one, and you can define
110 # charachter classes in square brackets and they can be freely mixed:
111
112 # ad*.example.com
113 #   matches adserver.example.com, ads.example.com, etc but not sfads.example.com
114
115 # *ad*.example.com
116 #   matches all of the above
117
118 # .?pix.com
119 #   matches www.ipix.com, pictures.epix.com, a.b.c.d.e.upix.com etc
120
121 # www[1-9a-ez].example.com
122 #   matches www1.example.com, www4.example.com, wwwd.example.com, 
123 #   wwwz.example.com etc, but not wwww.example.com
124
125 # You get the idea?
126
127 # 2. Path Syntax
128 # --------------
129
130 # Paths are specified as regular expressions. A comprehensive discussion of
131 # regular expressions wouldn't fit here, but (FIXME) someone should paste
132 # a concise intro to the regex language here.
133
134 # Perl compatible regular expressions are used. See the pcre/docs/ direcory or
135 # man perlre (also available on http://www.perldoc.com/perl5.6/pod/perlre.html)
136 # for details. The appendix to the user manual also has some detail.
137
138 # Please note that matching in the path is CASE INSENSITIVE by default, but
139 # you can switch to case sensitive by starting the pattern with the "(?-i)"
140 # switch:
141
142 # www.example.com/(?-i)PaTtErN.*
143 #   will match only documents whose path starts with PaTtErN in exactly this
144 #   capitalization.
145 #
146 # Partially case-sensetive and partially case-insensitive patterns are
147 # possible, but the rules about splitting them up are extremely complex
148 # - see the PCRE documentation for more information.
149
150 #############################################################################
151 # Action Syntax
152 #############################################################################
153 #
154 # There are 3 kinds of action:
155 #
156 # Boolean (e.g. "block"):
157 #   +name  # enable
158 #   -name  # disable
159 #
160 # Parameterized (e.g. "hide-user-agent"):
161 #   +name{param}  # enable and set parameter to "param"
162 #   -name         # disable
163 #
164 # Multi-value (e.g. "add-header", "send-wafer"):
165 #   +name{param}  # enable and add parameter "param"
166 #   -name{param}  # remove the parameter "param"
167 #   -name         # disable totally
168 #
169 # The default (if you don't specify anything in this file) is not to take
170 # any actions - i.e completely disabled, so Privoxy will just be a
171 # normal, non-blocking, non-anonymizing proxy.  You must specifically
172 # enable the privacy and blocking features you need (although the 
173 # provided default actions file will do that for you).
174 #
175 # Later actions always override earlier ones.  For multi-valued actions,
176 # the actions are applied in the order they are specified.
177 #
178 #############################################################################
179 # Valid actions are:
180 #############################################################################
181 #
182 # +add-header{Name: value}
183 #    Adds the specified HTTP header, which is not checked for validity.
184 #    You may specify this many times to specify many headers.
185 #
186 # +block
187 #    Block this URL
188 #
189 # +deanimate-gifs{last}
190 # +deanimate-gifs{first}
191 #    Deanimate all animated GIF images, i.e. reduce them to their last
192 #    frame. This will also shrink the images considerably. (In bytes,
193 #    not pixels!) 
194 #    If the option "first" is given, the first frame of the animation
195 #    is used as the replacement. If "last" is given, the last frame of
196 #    the animation is used instead, which propably makes more sense for
197 #    most banner animations, but also has the risk of not showing the
198 #    entire last frame (if it is only a delta to an earlier frame).
199 #
200 # +downgrade-http-version
201 #    Downgrade HTTP/1.1 client requests to HTTP/1.0 and downgrade the
202 #    responses as well. Use this action for servers that use HTTP/1.1
203 #    protocol features that Privoxy currently can't handle yet.
204 #
205 # +fast-redirects
206 #    Many sites, like yahoo.com, don't just link to other sites.
207 #    Instead, they will link to some script on their own server,
208 #    giving the destination as a parameter, which will then redirect
209 #    you to the final target. 
210 #
211 #    URLs resulting from this scheme typically look like:
212 #    http://some.place/some_script?http://some.where-else
213 #
214 #    Sometimes, there are even multiple consecutive redirects encoded
215 #    in the URL. These redirections via scripts make your web browing
216 #    more traceable, since the server from which you follow such a link
217 #    can see where you go to. Apart from that, valuable bandwidth and
218 #    time is wasted, while your browser aks the server for one redirect
219 #    after the other. Plus, it feeds the advertisers.
220 #
221 #    The +fast-redirects option enables interception of these requests
222 #    by Privoxy, who will cut off all but the last valid URL in the
223 #    request and send a local redirect back to your browser without
224 #    contacting the intermediate sites.
225 #
226 # +filter{name}
227 #    Filter the website through one or more regular expression filters.
228 #    Repeat for multiple filters.
229 #   
230 #    Filters predefined in the supplied default.action include:
231 #
232 #     js-annoyances:       Get rid of particularly annoying JavaScript abuse
233 #     html-annoyances:     Get rid of particularly annoying HTML abuse
234 #     content-cookies:     Kill cookies that come in the HTML or JS content
235 #     webbugs:             Squish WebBugs (1x1 invisible GIFs used for user tracking)
236 #     popups:              Kill all popups in JS and HTML
237 #     frameset-borders:    Give frames a border
238 #     refresh-tags:        Kill automatic refresh tags (for dial-on-demand setups)
239 #     img-reorder:         Reorder attributes in <img> tags to make the banners-by-* filters more effective
240 #     banners-by-size:     Kill banners by size (very efficient!)
241 #     banners-by-link:     Kill banners by their links to known clicktrackers 
242 #     fun:                 Text replacements  for subversive browsing fun!
243 #     nimda:               Remove Nimda (virus) code.
244 #     shockwave-flash:     Kill embedded Shockwave Flash objects
245 #     quicktime-kioskmode: Make Quicktime movies saveable
246 #     js-events:           Kill all JS event bindings (Radically destructive! Use only on real suckers)
247 #     crude-parental:      Kill all web pages that contain the words "sex" or "warez"
248 #
249 # +hide-forwarded-for-headers
250 #    Block any existing X-Forwarded-for header, and do not add a new one.
251 #
252 # +hide-from-header{block}
253 # +hide-from-header{spam@sittingduck.xqq}
254 #    If the browser sends a "From:" header containing your e-mail address, 
255 #    either completely removes the header ("block"), or change it to the
256 #    specified e-mail address.
257 #
258 # +hide-referer{block}
259 # +hide-referer{forge}
260 # +hide-referer{http://nowhere.com}
261 #    Don't send the "Referer:" (sic) header to the web site.  You can
262 #    block it, forge a URL to the same server as the request (which is
263 #    preferred because some sites will not send images otherwise) or
264 #    set it to a constant string.
265 #
266 # +hide-referrer{...}
267 #    Alternative spelling of +hide-referer.  Has the same parameters,
268 #    and can be freely mixed with, "+hide-referer".  ("referrer" is the 
269 #    correct English spelling, however the HTTP specification has a 
270 #    bug - it requires it to be spelt "referer").
271 #
272 # +hide-user-agent{browser-type}
273 #    Change the "User-Agent:" header so web servers can't tell your
274 #    browser type.  (Breaks many web sites).  Specify the user-agent
275 #    value you want - e.g., to pretend to be using Netscape on Linux:
276 #      +hide-user-agent{Mozilla (X11; I; Linux 2.0.32 i586)}
277 #    Or to identify yourself explicitly as a Privoxy user:
278 #      +hide-user-agent{Privoxy/1.0}
279 #    (Don't change the version number from 1.0 - after all, why tell them?)
280 #
281 # +handle-as-image
282 #    Treat this URL as an image.  This only matters if it's also "+block"ed,
283 #    in which case a "blocked" image can be sent rather than a HTML page.
284 #    See +set-image-blocker{} for the control over what is actually sent.
285 #
286 # +set-image-blocker{blank}
287 # +set-image-blocker{pattern}
288 # +set-image-blocker{custom}
289 # +set-image-blocker{<URL>} with <url> being any valid image URL
290 #    Decides what to do with URLs that end up tagged with {+block +handle-as-image}.
291 #    There are 5 options:
292 #      * "-set-image-blocker" will send a HTML "blocked" page, usually
293 #         resulting in a "broken image" icon.
294 #      * "+set-image-blocker{blank}" will send a 1x1 transparent image
295 #      * "+set-image-blocker{pattern}" will send a 4x4 grey/white pattern
296 #        which is easier to recognize than the transparent one.
297 #      * "+set-image-blocker{custom}" will send an image file as specified
298 #        in the config file (see image-blocker-custom-file within config).
299 #      * "+set-image-blocker{<URL>}" will send a HTTP temporary redirect
300 #        to the specified image URL.
301 #
302 #
303 # +limit-connect{portlist}
304 #   The CONNECT methods exists in HTTP to allow access to secure websites
305 #   (https:// URLs) through proxies. It works very simply: The proxy
306 #   connects to the server on the specified port, and then short-circuits
307 #   its connections to the cliant and to the remote proxy.
308 #   This can be a big security hole, since CONNECT-enabled proxies can
309 #   be abused as TCP relays very easily.
310 #   By default, i.e. in the absence of a +limit-connect action, Privoxy
311 #   will only allow CONNECT requests to port 443, which is the standard port
312 #   for https.
313 #   If you want to allow CONNECT for more ports than that, or want to forbid
314 #   CONNECT altogether, you can specify a comma separated list of ports and port
315 #   ranges (the latter using dashes, with the minimum defaulting to 0 and max to 65K):
316 #
317 #   +limit-connect{443} # This is the default and need no be specified.
318 #   +limit-connect{80,443} # Ports 80 and 443 are OK.
319 #   +limit-connect{-3, 7, 20-100, 500-} # Port less than 3, 7, 20 to 100, and above 500 are OK.
320 #
321 # +prevent-compression
322 #    Prevent the website from compressing the data. Some websites do
323 #    that, which is a problem for Privoxy, since +filter, +kill-popups
324 #    and +gif-deanimate will not work on compressed data. Will slow down
325 #    connections to those websites, though.
326 #
327 # +prevent-keeping-cookies
328 # +session-cookies-only
329 #    If the website sets cookies, make sure they are erased when you exit
330 #    and restart your web browser.  This makes profiling cookies useless,
331 #    but won't break sites which require cookies so that you can log in
332 #    or for transactions.
333 #
334 # +crunch-outgoing-cookies
335 #    Prevent the website from reading cookies
336 #
337 # +crunch-incoming-cookies
338 #    Prevent the website from setting cookies
339 #
340 # +kill-popups
341 #    Filter the website through a built-in filter to disable
342 #    window.open() etc.  The two alternative spellings are
343 #    equivalent.
344 #
345 # +send-vanilla-wafer
346 #    This action only applies if you are using a jarfile.  It sends a
347 #    cookie to every site stating that you do not accept any copyright
348 #    on cookies sent to you, and asking them not to track you.  Of
349 #    course, this is a (relatively) unique header they could use to 
350 #    track you.
351 #
352 # +send-wafer{name=value}
353 #    This allows you to add an arbitrary cookie.  Specify it multiple
354 #    times in order to add several cookies.
355 #
356 #############################################################################
357
358 #############################################################################
359 # Settings -- Don't change.
360 #############################################################################
361 {{settings}}
362 #############################################################################
363 for-privoxy-version=3.0
364
365 #############################################################################
366 # Aliases
367 #############################################################################
368 {{alias}}
369 #############################################################################
370 #
371 # You can define a short form for a list of permissions - e.g., instead
372 # of "-crunch-incoming-cookies -crunch-outgoing-cookies -filter -fast-redirects",
373 # you can just write "shop". This is called an alias.
374 #
375 # Currently, an alias can contain any character except space, tab, '=', '{'
376 # or '}'.
377 # But please use only 'a'-'z', '0'-'9', '+', and '-'.
378 #
379 # Alias names are not case sensitive.
380 #
381 # Aliases beginning with '+' or '-' may be used for system action names 
382 # in future releases - so try to avoid alias names like this.  (e.g. 
383 # "+crunch-all-cookies" below is not a good name)
384 #
385 # Aliases must be defined before they are used.
386
387
388 # These aliases just save typing later:
389 #
390 +crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
391 -crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies
392  allow-all-cookies  = -crunch-all-cookies -session-cookies-only
393  allow-popups       = -filter{popups} -kill-popups
394 +block-as-image     = +block +handle-as-image
395 -block-as-image     = -block
396
397 # These aliases define combinations of actions
398 # that are useful for certain types of sites:
399 #
400 fragile     = -block -crunch-all-cookies -filter -fast-redirects -hide-referer -kill-popups
401 shop        = -crunch-all-cookies allow-popups
402
403 # Your favourite blend of filters:
404 #
405 myfilters   = +filter{html-annoyances} +filter{js-annoyances} +filter{popups}\
406               +filter{webbugs} +filter{nimda} +filter{banners-by-size} #+filter{fun}
407
408 # Allow ads for selected useful free sites:
409 #
410 allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
411 #... etc.  Customize to your heart's content.
412
413
414 #############################################################################
415 # Defaults
416 #############################################################################
417 { \
418 -add-header \
419 -block \
420 -crunch-outgoing-cookies \
421 -crunch-incoming-cookies \
422 +deanimate-gifs{last} \
423 -downgrade-http-version \
424 -fast-redirects \
425 +filter{js-annoyances} \
426 +filter{html-annoyances} \
427 +filter{content-cookies} \
428 +filter{webbugs} \
429 +filter{popups} \
430 -filter{frameset-borders} \
431 -filter{refresh-tags} \
432 -filter{img-reorder} \
433 +filter{banners-by-size} \
434 -filter{banners-by-link} \
435 -filter{fun} \
436 +filter{nimda} \
437 -filter{shockwave-flash} \
438 +filter{quicktime-kioskmode} \
439 -filter{js-events} \
440 -filter{crude-parental} \
441 -handle-as-image \
442 +hide-forwarded-for-headers \
443 +hide-from-header{block} \
444 +hide-referrer{forge} \
445 -hide-user-agent \
446 -kill-popups \
447 -limit-connect \
448 +prevent-compression \
449 -send-vanilla-wafer \
450 -send-wafer \
451 +session-cookies-only \
452 +set-image-blocker{pattern} \
453 }
454 / # Match all URLs
455
456 #############################################################################
457 # Needed for automatic feedback evaluation; Please don't change or delete!
458 #############################################################################
459 {+add-header{X-Actions-File-Version: 1.5} -filter -kill-popups}
460 .privoxy.org
461 .oesterhelt.org/actions
462
463 #############################################################################
464 # These extensions belong to images:
465 #############################################################################
466 {+handle-as-image}
467 #############################################################################
468 /.*\.(gif|jpe?g|png|bmp|ico)($|\?)
469
470 #############################################################################
471 # Generic block patterns (the most effective!):
472 #############################################################################
473 {+block}
474 #MASTER# DONT-VERIFY (generic)
475
476 # By hostname:
477 #
478 ad*.
479 .*ads.
480 *banner*.
481 count*.
482
483 # By path:
484 #
485 /(.*/)?(ads(erver?|tream)?|.*?ads/|ad/|adv(iew|ert(s|enties|is(ing|e?ments)?)?)?|(ad|all|nn)?[-_]?banner(s|ads?|farm)?)
486 /(.*/)?(publicite|werbung|rekla(ma|me|am)|annonse|maino(kset|nta|s)?/)
487 /.*(count|track)(er|run)?\.(pl|cgi|exe|dll|asp|php[34]?)
488 /.*promo.gif
489
490 #############################################################################
491 # Site-specific block patterns;
492 #############################################################################
493
494 #MASTER# BLOCK-REFERRER: http://www.brooksbrothers.com/
495 #MASTER# BLOCK-REFERRER: http://www.autodesk.com/
496 .hitbox.com 
497 #MASTER# BLOCK-REFERRER: http://www.the-gadgeteer.com/palmos.html
498 www.the-gadgeteer.com/cgi-bin/getimage.cgi/
499 #MASTER# BLOCK-REFERRER: http://www.stern.de/
500 www.stern.de/bilder/poweredby
501 #MASTER# BLOCK-REFERRER: http://www.gmx.net/de/cgi/logoutpage?CN=sJywqKCElHw%3D%3D
502 images.gmx.net/images/bs/
503 #MASTER# BLOCK-REFERRER: http://www.max.de/
504 .akamaitech.net/.*/img/e-commerce
505 www.max.de/_teaser/partner/
506 #MASTER# BLOCK-REFERRER: http://search.atomz.com/search/?sp-k=&sp-p=any&sp-a=sp1001395b&sp-q=linux
507 search.atomz.com/search/i/tagw1c.gif
508 www.intelligentx.com/newsletters/.*\.gif
509 #MASTER# BLOCK-REFERRER: http://www.whowhere.lycos.com/ThreeD/explain.html
510 www.whowhere.lycos.com/images/ebay_bst.gif
511 www.whowhere.lycos.com/images/find_books.gif
512 www.whowhere.lycos.com/images/1800/advppl1.gif
513 #MASTER# BLOCK-REFERRER: http://realguide.real.com/games/
514 i.real.com/g/pics/games/gamepass_120x600_2.gif
515 #MASTER# BLOCK-REFERRER: http://www1.chathouse.com/roomplan.html
516 www*.chathouse.com/chatimages/whopersonal.gif
517 #MASTER# BLOCK-REFERRER: http://www.beseen.com/
518 www.beseen.com/images/website3.gif
519 #MASTER# BLOCK-REFERRER: http://www.planetspiele.de/
520 .planetspiele.de/gfx/partner
521 #MASTER# BLOCK-REFERRER: http://www.hot.ee/toptools/
522 #MASTER# REMARKS: Yes, block *all* their graphics.
523 www.hot.ee/.*\.(gif|jpe?g)
524 top.ultraseek.net/top_sit.*\.gif
525 #MASTER# BLOCK-REFERRER: http://kickme.to/FOSI
526 fosi.ural.net/.*\.jpg
527 #MASTER# BLOCK-REFERRER: http://www.tucows.com/
528 .tucows.com/images/dodi.gif
529 .tucows.com/images/elibrary_searchTop.gif
530 #MASTER# BLOCK-REFERRER: http://www.ix.de/
531 #MASTER# BLOCK-REFERRER: http://www.heise.de/
532 /icons/emedia_b.gif
533 #MASTER# BLOCK-REFERRER: http://dest.travelocity.com/DestGuides/geo_frontdoor/0,,TRAVELOCITY,00.html?HPTRACK=icon_dest
534 dest.travelocity.com/website/destinations/images/partner_frommers.gif
535 dest.travelocity.com/website/destinations/images/travelex_logo.gif
536 #MASTER# BLOCK-REFERRER: http://cobolreport.com/
537 cobolreport.com/images/canam1.gif
538 cobolreport.com/images/Acucorp1.gif
539 cobolreport.com/images/netcobol.jpg
540 cobolreport.com/images/NetCOBOL-banner.gif
541 objectz.com/images/Landmark%20120x240.gif
542 #MASTER# BLOCK-REFERRER: http://www.theregister.co.uk/
543 www.theregister.co.uk/media
544 #MASTER# BLOCK-REFERRER: http://www.dpreview.com/reviews/canons40/
545 tribalfusion.speedera.net
546 .tribalfusion.com/media/
547 #MASTER# BLOCK-REFERRER: http://www.portalofevil.com/
548 b*.portalofevil.com/shlv
549 #MASTER# BLOCK-REFERRER: http://us.imdb.com/Quotes?0110912
550 i.imdb.com/Vpics/
551 #MASTER# BLOCK-REFERRER: http://us.imdb.com/Title?0110912
552 i.imdb.com/Photos/CMSIcons
553 rcm.amazon.com
554 #MASTER# BLOCK-REFERRER: http://us.imdb.com/Trivia?0110116
555 i.imdb.com/Icons/apix/
556 #MASTER# BLOCK-REFERRER: http://www.nytimes.com/
557 .nytimes.com/adx/
558 #MASTER# BLOCK-REFERRER: http://www.salon.com/
559 www.salon.com/Creatives
560 images.salon.com/plus/gear/src/
561 #MASTER# BLOCK-REFERRER: http://www.sourceforge.net/
562 images.sourceforge.net/images/DB2powered.gif
563
564 #############################################################################
565 # Generic block-as-image patterns:
566 #############################################################################
567 {+block-as-image}
568 #MASTER# BLOCK-REFERRER: http://experts-exchange.com/os2gen/
569 /.*adimage\.(php|cgi)
570
571 #############################################################################
572 # Site-specific block-as-image patterns:
573 #############################################################################
574 #MASTER# BLOCK-REFERRER: http://www.cnn.com/
575 #MASTER# BLOCK-REFERRER: http://www.aol.com/
576 ar.atwola.com 
577 #MASTER# BLOCK-REFERRER: http://www.altavista.com/
578 #MASTER# BLOCK-REFERRER: http://www.tecchannel.de/
579 #MASTER# BLOCK-REFERRER: http://www.whowhere.lycos.com/
580 .[a-vx-z]*.doubleclick.net
581 #MASTER# BLOCK-REFERRER: http://www.theinquirer.net/
582 netcomm.spinbox.net
583 #MASTER# BLOCK-REFERRER: http://www.joecartoon.com/
584 servedby.advertising.com
585 #MASTER# BLOCK-REFERRER: http://hwww.yahoo.com/
586 .a.yimg.com/(?:(?!/i/).)*$
587 .a[0-9].yimg.com/(?:(?!/i/).)*$
588 .yimg.com/.*/a/
589 .yimg.com/.*/flash/promotions
590 #MASTER# BLOCK-REFERRER: http://www.kostenlos.de/
591 werbung.guj.de
592 #MASTER# DONT-VERIFY
593 bs*.gsanet.com
594 bs*.einets.com
595 #MASTER# DONT-VERIFY (Opera browser built-in ads)
596 .qkimg.net
597 /scripts/cms/xcms.asp
598 #MASTER# BLOCK-REFERRER: http://www.sevac.com/
599 .sexcounter.
600 #MASTER# BLOCK-REFERRER: http://www.asahi.com/
601 www.asahi.com/(.*/)?ad/
602 #MASTER# BLOCK-REFERRER: http://www.travelocity.com/Vacations/0,,TRAVELOCITY||Y,00.html?HPTRACK=mpc_vac
603 #MASTER# BLOCK-REFERRER: http://dest.travelocity.com/DestGuides/geo_frontdoor/0,,TRAVELOCITY,00.html?HPTRACK=icon_dest
604 .travelocity./Sponsor_gifs/
605 #MASTER# DONT-VERIFY
606 #MASTER# REMARKS: Bannerfarms used by grokster and others:
607 james.adbutler.de
608 gkas.de/affilinet
609 #MASTER# BLOCK-REFERRER: http://www.macaddict.com/
610 130.94.70.82
611 #MASTER# BLOCK-REFERRER: http://asitreff.6x.to/
612 cashformel.com/web-sponsor
613 www.cash4banner.com/web-sponsor
614 213.221.106.162
615 #MASTER# BLOCK-REFERRER: http://www.ebay.com
616 pics.ebay.com/aw/pics/homepage/big8
617 #MASTER# BLOCK-REFERRER: http://www.falk-online.de/index.jsp
618 #MASTER# REMARKS: ad*.adsolution.de
619 62.26.220.2
620 62.27.38.2
621 62.27.57.2
622 #MASTER# BLOCK-REFERRER: unknown
623 #MASTER# REMARKS: both exist and are banner farms
624 www.bannermania.nom.pl
625 magic.koti.com.pl/cgi-magic/banner_img.cgi
626 #MASTER# BLOCK-REFERRER: http://www.linuxdot.org/cgi-bin/columns.cgi?id=26
627 naturalismedicina.com/cgibin/linswap
628 #MASTER# BLOCK-REFERRER: http://www.dhtmlplanet.com/
629 statse.webtrendslive.com
630 #MASTER# BLOCK-REFERRER: http://www.versiontracker.com/
631 #MASTER# REMARKS: 1) Used on many sites 2) URLs don't _end_ in .gif, hence +imageblock
632 spinbox.versiontracker.com/.*\.gif
633 #MASTER# BLOCK-REFERRER: http://educ8search.tripod.com/hacksoft.html
634 #MASTER# REMARKS: Counter
635 .netscape.com/c\.cgi\?
636 #MASTER# BLOCK-REFERRER: http://privacy.net/analyze/
637 a.consumer.net
638 #MASTER# BLOCK-REFERRER: http://mycroft.mozdev.org/
639 #MASTER# REMARKS: Counter
640 m[0-9].nedstatbasic.net
641 #MASTER# BLOCK-REFERRER: http://salon.com/
642 #MASTER# REMARKS: Banner farms; just exclude their corp. info
643 [a-v,x-z]*.atdmt.com/
644 #MASTER# BLOCK-REFERRER: http://www.deviantart.com/
645 images.deviantart.com/affiliates/
646 images.deviantart.com/shared/(winzip|trillian)\.gif
647 #MASTER# DONT-VERIFY
648 #MASTER# REMARKS: Referenced from HTML-Emails
649 .weather.com/creatives/
650 .weather.com/web/services/email/
651
652 #############################################################################
653 # Generic unblockers to narrow the side effects of the generic blockers:
654 #############################################################################
655 {-block}
656 #MASTER# DONT-VERIFY (generic)
657
658 # By host:
659 #
660 adsl.
661 ad[ud]*.
662 advice.
663 .edu
664 .ac.uk
665 .uni-*.de
666 .*load*.
667
668 # By path:
669 #
670 /.*ad(sl|v(i[cs]|an|ertencia|entu)) # advice/advisories/advan*/advertencia (spanish)
671 /.*((up|down)lo|p?thre|he|d|gr|l|ro)ads
672 /.*account
673
674 #############################################################################
675 # Site-specific unblockers:
676 #############################################################################
677 #MASTER# UNBLOCK-REFERRER: http://bannerblind.mozdev.org/
678 bannerblind.mozdev.org
679 #MASTER# UNBLOCK-REFERRER: http://advogato.org/
680 advogato.org
681 #MASTER# UNBLOCK-REFERRER: http://www.handelsblatt.com/
682 ad*.vhb.de
683 #MASTER# UNBLOCK-REFERRER: http://www.ugu.com/
684 www.ugu.com/sui/ugu/adv
685 #MASTER# UNBLOCK-REFERRER: http://www.globalintersec.com/adv/sendtemp-2001021302.txt
686 www.globalintersec.com/adv
687 #MASTER# UNBLOCK-REFERRER: http://www.wunderground.com/geo/BannerPromo/US/NY/New_York.html
688 banners.wunderground.com/banner/
689 #MASTER# UNBLOCK-REFERRER: http://www.sueddeutsche.de/
690 www.sueddeutsche.de/.*banner
691 #MASTER# UNBLOCK-REFERRER: http://www.openoffice.org/
692 www.openoffice.org/banners/
693 #MASTER# UNBLOCK-REFERRER: http://capwiz.com/ieeeusa/home/
694 capwiz.com/ieee/images/banner.gif
695 #MASTER# UNBLOCK-REFERRER: http://security.greymagic.com/
696 sec*.greymagic.com/adv/
697 #MASTER# UNBLOCK-REFERRER: http://www.foxnews.com
698 .foxnews.com/images/banners/(sec|logo)
699 #MASTER# UNBLOCK-REFERRER: http://www.comdirect.de/
700 #MASTER# REMARKS: Used as link tracker on (needed) internal links
701 www.comdirect.de/stat/count.php
702 #MASTER# UNBLOCK-REFERRER: http://www.amazon.com/exec/obidos/tg/browse/-/130/ref=gw_br_dvd/102-9730978-3540926
703 #MASTER# REMARKS: Part of site decoration
704 .amazon.com/.*/banners/
705 #MASTER# UNBLOCK-REFERRER: http://www.washingtonpost.com/wp-dyn/articles/A43890-2002Aug4.html
706 #MASTER# REMARKS: Javascripts whose absence messes the page
707 .washingtonpost.com/wp-srv/
708 #MASTER# UNBLOCK-REFERRER: http://www.gnome.org/images/banner-gnomeis
709 www.gnome.org
710 #MASTER# UNBLOCK-REFERRER: http://www.nycsubway.org/
711 .nycsubway.org/img/banner
712 #MASTER# UNBLOCK-REFERRER: http://www.hellug.gr
713 ads.hellug.gr
714
715 #############################################################################
716 # Site-specific special rules:
717 #############################################################################
718
719 #----------------------------------------------------------------------------
720 # These sites are very complex (read: keen on your identity) and require
721 # minimal interference.
722 #----------------------------------------------------------------------------
723 {fragile}
724 .office.microsoft.com
725 .windowsupdate.microsoft.com
726
727 #----------------------------------------------------------------------------
728 # Shopping and banking sites - allow cookies and pop-ups
729 #----------------------------------------------------------------------------
730 {shop}
731 .quietpc.com
732 .worldpay.com   # for quietpc.com
733 .jungle.com
734 .scan.co.uk
735 .dabs.com
736 .overclockers.co.uk
737 .deutsche-bank-24.de
738 .db24.de
739 .ebay.
740 .mobile.de
741
742 #----------------------------------------------------------------------------
743 # These sites require pop-ups
744 #----------------------------------------------------------------------------
745 {allow-popups}
746 #MASTER# PROBLEM-URL: http://www.aprilbarrows.com/discography.html
747 www.aprilbarrows.com/discography\.html$
748 #MASTER# PROBLEM-URL: http://kevxml2a.infospace.com/info.metac/venshopping/index.htm
749 .infospace.com/.*/venshopping/
750 #MASTER# PROBLEM-URL: http://www.nvidia.com/view.asp?PAGE=windows2000
751 www.nvidia.com
752 #MASTER# PROBLEM-URL: http://www15.chathouse.com/games/
753 www*.chathouse.com/games/
754 #MASTER# PROBLEM-URL: http://www.tagesschau.de/
755 #MASTER# REMARKS: Search results come in a popup
756 www.tagesschau.de
757 #MASTER# PROBLEM-URL: http://www.reuters.com/
758 #MASTER# REMARKS: Printer friendly versions pop up
759 www.reuters.com/news_article.jhtml
760 #MASTER# PROBLEM-URL: http://www.xmms.org/skins.html?num=15&sort=daily_download&order=desc
761 www.xmms.org
762 #MASTER# PROBLEM-URL: http://www.bild.de/
763 .bild.t-online.de
764 #MASTER# PROBLEM-URL: http://klubwakacyjny.interia.pl/pytanie.html
765 klubwakacyjny.interia.pl/pytanie.html
766 #MASTER# PROBLEM-URL: http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=cupel
767 www.m-w.com
768 #MASTER# PROBLEM-URL: http://www.pcbox.es/boxshop/catalogo/entrada.asp?centro=53
769 www.pcbox.es
770 #MASTER# PROBLEM-URL: http://www.hola.com/club/trajelegante/
771 www.hola.com/club/
772 #MASTER# PROBLEM-URL: http://www.infoempleo.com/
773 www.infoempleo.com
774 #MASTER# PROBLEM-URL: http://www.netflix.com/
775 www.netflix.com
776
777 ##----------------------------------------------------------------------------
778 # Sometimes (i.e. often!) fast-redirects catches things by mistake
779 #----------------------------------------------------------------------------
780 {-fast-redirects}
781 www.ukc.ac.uk/cgi-bin/wac\.cgi\?
782 #MASTER# PROBLEM-URL: http://www.google.com/search?q=foo
783 .google.com
784 #MASTER# PROBLEM-URL: http://de.altavista.com/q?pg=q&q=foo&kl=XX&search.x=28&search.y=8&what=web
785 .altavista.com/(.*(like|url|link):|trans.*urltext=)http
786 #MASTER# PROBLEM-URL: http://www.speedfind.de/cgi-bin/search?q=foo&t=STANDARD
787 .speedfind.de
788 #MASTER# PROBLEM-URL: http://www.nytimes.com/
789 .nytimes.com
790 #MASTER# PROBLEM-URL: http://groups.yahoo.com/
791 .yahoo.com/.*done=
792 #MASTER# PROBLEM-URL: http://validator.w3.org/check
793 .w3.org
794 #MASTER# PROBLEM-URL: http://www.ask.com/
795 .directhit.com
796 #MASTER# PROBLEM-URL: http://www.zagats.com/
797 .zagats.com
798 #MASTER# PROBLEM-URL: http://www.passport.com/Consumer/default.asp?lc=1033
799 #MASTER# PROBLEM-URL: http://www.msn.com/
800 my.msn.com/passport/pp(consent|set)\.ashx\?msnru=
801 www.passport.com/Consumer/default\.asp\?lc=[0-9]+&msppchlg=[01]&mspplogin=
802 login.passport.com/logout\.(asp|srf)\?
803 #MASTER# PROBLEM-URL: http://www.fileplanet.com
804 download.com.com/redir\?
805 www.fileplanet.com/redir\.asp\?
806 #MASTER# PROBLEM-URL: http://www.washingtonpost.com/
807 .washingtonpost.com
808
809 #----------------------------------------------------------------------------
810 # No filtering for sourcecode
811 #----------------------------------------------------------------------------
812 {-filter}
813 #MASTER# PROBLEM-URL: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/current/
814 cvs.
815 #MASTER# PROBLEM-URL: http://liveupdate.symantec.com/ennlu.x86
816 liveupdate.symantec.com
817
818 #----------------------------------------------------------------------------
819 # These sites suffer from a bug in PHP < 4.2.3 (ob_gzhandler broken;
820 # workaround is to use zlib.output_compression):
821 #----------------------------------------------------------------------------
822 {-prevent-compression}
823 #MASTER# PROBLEM-URL: http://www.powie.de/
824 www.powie.de
825 #MASTER# PROBLEM-URL: http://www.phpcenter.de/
826 www.phpcenter.de
827 #MASTER# PROBLEM-URL: http://www.debianhelp.org/
828 www.debianhelp.org
829 #MASTER# PROBLEM-URL: http://www.timeanddate.com
830 www.timeanddate.com
831 #MASTER# PROBLEM-URL: http://www.pclinuxonline.com/
832 #MASTER# PROBLEM-URL: http://pclinuxonline.com/
833 .pclinuxonline.com
834 #MASTER# PROBLEM-URL: http://www.dhd24.com/
835 www.dhd24.com
836 #MASTER# PROBLEM-URL: http://www.linuxandmain.com/
837 .linuxandmain.com
838 #MASTER# PROBLEM-URL: http://www.ofb.biz/
839 .ofb.biz
840 #MASTER# PROBLEM-URL: http://www.dungeoncrawl.org/
841 .dungeoncrawl.org
842 #MASTER# PROBLEM-URL: http://www.deviantart.com/
843 .deviantart.com
844 #MASTER# PROBLEM-URL: http://www.planetspiele.de/wbboard/
845 www.planetspiele.de/wbboard/
846 #MASTER# PROBLEM-URL: http://www.digitalspy.co.uk/
847 www.digitalspy.co.uk
848 #MASTER# PROBLEM-URL: http://www.dealnews.com/
849 .dealnews.com   
850
851 #----------------------------------------------------------------------------
852 # The first frame of the gif animation is more useful here:
853 #----------------------------------------------------------------------------
854 {+deanimate-gifs{first}}
855 #MASTER# PROBLEM-URL: http://www.pricecontrast.com/
856 #MASTER# REMARKS: Animation shows phone number
857 .pricecontrast.com
858
859 #----------------------------------------------------------------------------
860 # Innocent images in standard banner sizes found here:
861 #----------------------------------------------------------------------------
862 {-filter{banners-by-size}}
863 #MASTER# PROBLEM-URL: http://www.max.de/ratgeber/
864 .max.de
865 #MASTER# PROBLEM-URL: http://www.unmuseum.org/pirate.htm
866 www.unmuseum.org
867
868 #----------------------------------------------------------------------------
869 # These don't work without the referrer information:
870 #----------------------------------------------------------------------------
871 {-hide-referrer}
872 #MASTER# PROBLEM-URL: http://kickme.to/FOSI
873 /cgi-bin/fosi.cgi
874 #MASTER# PROBLEM-URL: http://www.abcnews.com/
875 printerfriendly.abcnews.com
876 #MASTER# PROBLEM-URL: http://www.ask.com/
877 .ask.com
878 #MASTER# PROBLEM-URL: http://www.amazon.de/exec/obidos/ASIN/B000067CPX/028-5048678-2899722
879 www.amazon.de/exec/obidos/clipserve/
880 #MASTER# PROBLEM-URL: http://www.lufthansa.de/  http://www.lufthansa.com/  http://cms.lufthansa.com/ 
881 .lufthansa.
882
883 #----------------------------------------------------------------------------
884 # These animated gifs are either useful or nice:
885 #----------------------------------------------------------------------------
886 {-deanimate-gifs}
887 #MASTER# PROBLEM-URL: http://www.care2.com/
888 #MASTER# REMARKS: Wanted animations on ecards
889 .care2.com
890 .care-mail.com
891 #MASTER# PROBLEM-URL: http://www.ameritrade.com
892 #MASTER# REMARKS: Animated link texts
893 www.ameritrade.com
894
895 #----------------------------------------------------------------------------
896 # These sites are so abusive that we need to kill all JS event bindings (and
897 # probably a break a lot along the way)
898 #----------------------------------------------------------------------------
899 {+filter{js-events}}
900 #MASTER# PROBLEM-URL: http://www..planetspiele.de/
901 .planetspiele.de
902 216.12.219.40
903
904 #----------------------------------------------------------------------------
905 # Misc special rules:
906 #----------------------------------------------------------------------------
907 {-filter{content-cookies} -filter{webbugs}}
908 #MASTER# PROBLEM-URL: http://www.friendscout24.de/
909 #MASTER# REMARKS: Needs content-cookies for cookie test on index page; needs webbugs for storing profile(!)
910 www.friendscout24.de
911
912 {-deanimate-gifs -filter{popups} -kill-popups}
913 #MASTER# PROBLEM-URL: http://www.valueclick.com/html/
914 #MASTER# REMARKS: Know your enemy ;-)
915 www.valueclick.com
916 {-block}
917 www.valueclick.com/html/img/advertiser_top.gif
918
919 {-filter{banners-by-size} -deanimate-gifs}
920 #MASTER# PROBLEM-URL: http://realguide.real.com/games/
921 #MASTER# REMARKS: They use banner-sized animated images
922 realguide.real.com/games
923
924 {-handle-as-image}
925 #MASTER# PROBLEM-URL: http://www.linuxtoday.com/
926 #MASTER# REMARKS: /adi has HTML snipplets for use in IFRAMEs
927 .doubleclick.net/adi
928
929 {+block}
930 #MASTER# BLOCK-REFERRER: http://www.geocities.com/the_sockman1/index.html
931 #MASTER# REMARKS: ..and any other page on geocities. Source of the obnoxious Geocities drop-in menu.
932 www.geocities.com/js_source
933
934 {-filter{fun}}
935 #MASTER# PROBLEM-URL: http://www.privoxy.org/user-manual/filter-file.html
936 #MASTER# REMARKS: Don't change the filter code with itself ;-)
937 /(.*/)?user-manual/filter-file.html
938
939 {+filter{img-reorder} +filter{banners-by-link}}
940 #MASTER# PROBLEM-URL: http://www.dn.se/
941 #MASTER# REMARKS: Can't catch by size or location
942 www.dn.se