projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing ACTION_MASK_ALL to be unsigned long rather than
[privoxy.git]
/
default.filter
diff --git
a/default.filter
b/default.filter
index
ec22b8a
..
3159c16
100644
(file)
--- a/
default.filter
+++ b/
default.filter
@@
-2,7
+2,7
@@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.
7 2002/04/09 18:34:51
oes Exp $
+# $Id: default.filter,v 1.
9 2002/04/11 07:36:35
oes Exp $
#
# Purpose : Rules to process the content of web pages
#
#
# Purpose : Rules to process the content of web pages
#
@@
-124,13
+124,13
@@
s|<meta\s+http-equiv=['"]?set-cookie['"]?\s+content=[^>].*>|<!--no cookies here
##################################################################################
#
##################################################################################
#
-#
no-
popups: Kill all popups in JS and HTML
+# popups: Kill all popups in JS and HTML
#
#################################################################################
#
#################################################################################
-FILTER:
no-
popups Kill all popups in JS and HTML
+FILTER: popups Kill all popups in JS and HTML
-s/window\.open\
(/concat(/ig
# JavaScript
-s/([ =;])open\
(/$1concat(/ig # JavaScript
+s/window\.open\
s*\(/concat(/ig
# JavaScript
+s/([ =;])open\
s*\(/$1concat(/ig # JavaScript alternative
s/target=['"]?(_blank|_new)['"]?/notarget/ig # HTML
s/target=['"]?(_blank|_new)['"]?/notarget/ig # HTML
@@
-161,10
+161,10
@@
s/<img\s+[^>]*?(width|height)\s*=\s*['"]?1\D[^>]*?(width|height)\s*=\s*['"]?1(\D
#################################################################################
#
#################################################################################
#
-#
no-refresh
: Kill automatic refresh tags (for dial-on-demand setups)
+#
refresh-tags
: Kill automatic refresh tags (for dial-on-demand setups)
#
#################################################################################
#
#################################################################################
-FILTER:
no-refresh
Kill automatic refresh tags (for dial-on-demand setups)
+FILTER:
refresh-tags
Kill automatic refresh tags (for dial-on-demand setups)
s/<meta\s+http-equiv=['"]?refresh['"]?\s+content=['"]?[0-9]*;\s+url=([^>]*)['"]?>/<link rev="x-refresh" href=$1>/iU
s/<meta\s+http-equiv=['"]?page-enter['"]?\s+content=[^>].*>/<!--no page enter for me-->/iU
s/<meta\s+http-equiv=['"]?refresh['"]?\s+content=['"]?[0-9]*;\s+url=([^>]*)['"]?>/<link rev="x-refresh" href=$1>/iU
s/<meta\s+http-equiv=['"]?page-enter['"]?\s+content=[^>].*>/<!--no page enter for me-->/iU
@@
-179,7
+179,7
@@
FILTER: fun Text replacements for subversive browsing fun!
s/microsoft(?!.com)/MicroSuck/ig
s/microsoft(?!.com)/MicroSuck/ig
-# Buzzword Bingo (example for extended syntax)
+# Buzzword Bingo (example for extended
regex
syntax)
#
s* industry[ -]leading \
| cutting[ -]edge \
#
s* industry[ -]leading \
| cutting[ -]edge \
@@
-239,10
+239,10
@@
s|<img\s+[^>]*?(width=['"]?200\D)[^>]*(height=['"]?50[^>]*?)>|<img src="http://c
#################################################################################
#
#################################################################################
#
-#
no
flash: Kill embedded Shockwave Flash objects
+#
shockwave-
flash: Kill embedded Shockwave Flash objects
#
#################################################################################
#
#################################################################################
-FILTER:
no
flash Kill embedded Shockwave Flash objects
+FILTER:
shockwave-
flash Kill embedded Shockwave Flash objects
s|<embed [^>]*application/x-shockwave-flash.*</embed>|<!-- Squished Shockwave Flash Embed -->|sigU
s|<embed [^>]*application/x-shockwave-flash.*</embed>|<!-- Squished Shockwave Flash Embed -->|sigU
@@
-267,6
+267,12
@@
s+^.*warez.*$+<html><head><title>No Warez</title></head><body><h3>You're not sea
#
# Revisions :
# $Log: default.filter,v $
#
# Revisions :
# $Log: default.filter,v $
+# Revision 1.9 2002/04/11 07:36:35 oes
+# Generalized js-popup filter
+#
+# Revision 1.8 2002/04/10 17:07:21 oes
+# Fixed potentially desctructive jobs, added noflash filter
+#
# Revision 1.7 2002/04/09 18:34:51 oes
# Fixed HTML syntax in replacements
#
# Revision 1.7 2002/04/09 18:34:51 oes
# Fixed HTML syntax in replacements
#