X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=7f6178598e59b41ba9aebbf2f13e2a0af286c7a8;hp=f266e154e227c1eb9aa3805c7512a525c1c40c74;hb=f8f5eed67547f87a9ed3da9f83520b56c4a5952a;hpb=360337eb9204253e494cc40a0b80b84918cf0ebf diff --git a/default.filter b/default.filter index f266e154..7f617859 100644 --- a/default.filter +++ b/default.filter @@ -4,7 +4,7 @@ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright (C) 2001-2020 the +# Copyright : Written by and Copyright (C) 2001-2021 the # Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it @@ -569,6 +569,37 @@ 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 + +################################################################################# +# +# github: Removes the annoying "Sign-Up" banner and the Cookie disclaimer. +# +################################################################################# +FILTER: github Removes the annoying "Sign-Up" banner and the Cookie disclaimer. + +s@@@Uis +s@(