projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9f9270
)
Generalized js-popup filter
author
oes
<oes@users.sourceforge.net>
Thu, 11 Apr 2002 07:36:35 +0000
(07:36 +0000)
committer
oes
<oes@users.sourceforge.net>
Thu, 11 Apr 2002 07:36:35 +0000
(07:36 +0000)
default.filter
patch
|
blob
|
history
diff --git
a/default.filter
b/default.filter
index
ec22b8a
..
3c14ed7
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:5
1 oes Exp $
+# $Id: default.filter,v 1.
8 2002/04/10 17:07:2
1 oes Exp $
#
# Purpose : Rules to process the content of web pages
#
#
# Purpose : Rules to process the content of web pages
#
@@
-129,8
+129,8
@@
s|<meta\s+http-equiv=['"]?set-cookie['"]?\s+content=[^>].*>|<!--no cookies here
#################################################################################
FILTER: no-popups Kill all popups in JS and HTML
#################################################################################
FILTER: no-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
@@
-267,6
+267,9
@@
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.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
#