From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 27 Mar 2017 10:19:19 +0000 (+0000)
Subject: Explicitly disable HTML filters for requests with CSS-REQUEST tag
X-Git-Tag: v_3_0_27~187
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@edit-actions-list?a=commitdiff_plain;h=0514d6cab1cdea776d8444e7df1e28cca48df165;p=privoxy.git

Explicitly disable HTML filters for requests with CSS-REQUEST tag

The filters are unlikely to break CSS files but executing
them without (intentionally) getting any hits is a waste of
cpu time and makes the log more noisy when running with
"debug 64".
---

diff --git a/default.action.master b/default.action.master
index a22a2d79..60a15189 100644
--- a/default.action.master
+++ b/default.action.master
@@ -11,7 +11,7 @@
 #
 #  File        :  $Source: /cvsroot/ijbswa/current/default.action.master,v $
 #
-#  $Id: default.action.master,v 1.331 2017/01/12 14:18:43 fabiankeil Exp $
+#  $Id: default.action.master,v 1.332 2017/01/12 14:19:58 fabiankeil Exp $
 #
 #  Requires    :  This version requires Privoxy v3.0.11 or later due to
 #                 syntax changes.
@@ -2562,7 +2562,28 @@ TAG:^IMAGE-REQUEST$
 #############################################################################
 # Depends on +client-header-tagger{css-requests}
 #############################################################################
-{+handle-as-empty-document \
+{-filter{html-annoyances} \
+ -filter{content-cookies} \
+ -filter{refresh-tags} \
+ -filter{img-reorder} \
+ -filter{banners-by-size} \
+ -filter{banners-by-link} \
+ -filter{webbugs} \
+ -filter{tiny-textforms} \
+ -filter{frameset-borders} \
+ -filter{iframes} \
+ -filter{demoronizer} \
+ -filter{shockwave-flash} \
+ -filter{quicktime-kioskmode} \
+ -filter{fun} \
+ -filter{crude-parental} \
+ -filter{site-specifics} \
+ -filter{no-ping} \
+ -filter{google} \
+ -filter{yahoo} \
+ -filter{msn} \
+ -filter{blogspot} \
+ +handle-as-empty-document \
  -handle-as-image \
 }
 TAG:^CSS-REQUEST$