X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=fcfe19fe9c057e7f3295b86639e6d9eb9c5b0856;hp=901bb6873f6bda3eb06e94cd82860afda26ecee1;hb=274add5184cdc8c99a65030098a9c461691377a8;hpb=73b7af6379688bc06717396e36bfdf55a994af95 diff --git a/default.filter b/default.filter index 901bb687..fcfe19fe 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 @@ -116,7 +116,6 @@ s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+z-?lock=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+hotkeys=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+titlebar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU -s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU ################################################################################# @@ -569,6 +568,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@(