X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=031bd17d48f62a71a47f22e030627e41bad8a0a6;hp=f266e154e227c1eb9aa3805c7512a525c1c40c74;hb=f2be4cfb0e98db4cf6fcf33f3f1efadabe399887;hpb=d718332b42f884d9c3c2fd0cfa9b83f4973c6971 diff --git a/default.filter b/default.filter index f266e154..031bd17d 100644 --- a/default.filter +++ b/default.filter @@ -569,6 +569,16 @@ FILTER: no-ping Removes non-standard ping attributes in and tags. s@(]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\ PING!\n$1$4@ig +################################################################################# +# +# allow-autocompletion: Changes autocomplete="off" on form and input fields +# to "on" to allow autocompletion. +# +################################################################################# +FILTER: allow-autocompletion Changes autocomplete="off" on form and input fields to "on" to allow autocompletion. + +s@(<(?:input|form|select|textarea)\s[^>]+autocomplete=)(['"]?)(?:off|0)\2@$1$2on$2@igsU + ################################################################################# # # google: CSS-based block for Google text ads. Also removes @@ -906,3 +916,17 @@ s@^X-Privoxy-Control:\s*@@i SERVER-HEADER-FILTER: privoxy-control Removes X-Privoxy-Control headers. s@^X-Privoxy-Control:.*@@i + +################################################################################# +# +# client-body: Modify client request body +# +################################################################################# +CLIENT-BODY-FILTER: remove-first-byte Removes the first byte from the request body +s@^.@@ + +CLIENT-BODY-FILTER: remove-test Removes "test" everywhere in the request body +s@test@@g + +CLIENT-BODY-FILTER: overwrite-test-value Overwrites the value of the "test" variable with blafasel +s@(test=)[^&\s]*@$1blafasel@g