From: Fabian Keil Date: Mon, 5 May 2014 09:55:25 +0000 (+0000) Subject: Disable HTML filters if the response was tagged ^application/javascript$ X-Git-Tag: v_3_0_22~167 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=44dee33c64fb63353b6343f5844084d8eb51e6e7 Disable HTML filters if the response was tagged ^application/javascript$ Filtering JavaScript code with filters intended to deal with HTML is usually a waste of time and, more importantly, may break stuff. --- diff --git a/default.action.master b/default.action.master index 3935442c..58a847e4 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.301 2014/03/08 20:08:09 fabiankeil Exp $ +# $Id: default.action.master,v 1.302 2014/05/05 09:48:15 fabiankeil Exp $ # # Requires : This version requires Privoxy v3.0.11 or later due to # syntax changes. @@ -2499,4 +2499,31 @@ TAG:^IMAGE-REQUEST$ } TAG:^CSS-REQUEST$ +############################################################################# +# Depends on +client-header-tagger{content-type} +############################################################################# +{-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} \ +} +TAG:^application/javascript$ + #MASTER# set vi:nowrap