X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=acconfig.h;h=ab59de810150005b5bf7f5e0b22eb2449c311744;hp=d2f50a29427f72c5daaede1aa8370f7ec7a37358;hb=53772b61ce552e1207450a5a5ec9e6a247de0b28;hpb=3fa247a8b6f38c04f675080fcb7f0f46d9c85dee diff --git a/acconfig.h b/acconfig.h index d2f50a29..ab59de81 100644 --- a/acconfig.h +++ b/acconfig.h @@ -10,7 +10,7 @@ * introduced because the compile command line started * getting ludicrously long with feature defines. * - * Copyright : Written by and Copyright (C) 2001-2009 the + * Copyright : Written by and Copyright (C) 2001-2014 the * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -109,43 +109,9 @@ /* * Allow blocking using images as well as HTML. * If you do not define this then everything is blocked as HTML. - * - * Note that this is required if you want to use FEATURE_IMAGE_DETECT_MSIE. */ #undef FEATURE_IMAGE_BLOCKING -/* - * Detect image requests automatically for MSIE. Will fall back to - * other image-detection methods (i.e. "+image" permission) for other - * browsers. - * - * You must also define FEATURE_IMAGE_BLOCKING to use this feature. - * - * It detects the following header pair as an image request: - * - * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) - * Accept: * / * - * - * And the following as a HTML request: - * - * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) - * Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, * / * - * - * And no, I haven't got that backwards - IE is being weird. - * - * Known limitations: - * 1) If you press shift-reload on a blocked HTML page, you get - * the image "blocked" page, not the HTML "blocked" page. - * 2) Once an image "blocked" page has been sent, viewing it - * in it's own browser window *should* bring up the HTML - * "blocked" page, but it doesn't. You need to clear the - * browser cache to get the HTML version again. - * - * These limitations are due to IE making inconsistent choices - * about which "Accept:" header to send. - */ -#undef FEATURE_IMAGE_DETECT_MSIE - /* * Use PNG instead of GIF for built-in images */ @@ -161,6 +127,11 @@ */ #undef FEATURE_EXTENDED_HOST_PATTERNS +/* + * Allow filtering with scripts and programs. + */ +#undef FEATURE_EXTERNAL_FILTERS + /* * Keep connections alive if possible. */