Filter response content not work!
|
Aug. 18, 2018, 10:33 AM
Post: #1
|
|||
|
|||
Filter response content not work!
Hi! I want to modify html response using Privoxy.
I decide append <h2> tag with text to <body> tag of response html. I add filter to file default.filter FILTER:html replacements .*?(<\s+body.*?>).*?/$1<h2>My content here!</h2> And add to file default.action: # Content filter everything {+filter{crude-parental}} /.* But it don't work on any site (I check on a lot of http NOt https sites)! Where am I wrong?Can anybody help me!Thanks! |
|||
Aug. 19, 2018, 08:49 AM
Post: #2
|
|||
|
|||
RE: Filter response content not work!
http://config.privoxy.org/user-manual/fi...R-FILE-TUT
FILTER:html replacements s|<body>|$0<h2>My content here!</h2>| action: {+filter{html}} / |
|||
![]() cattleyavns |
« Next Oldest | Next Newest »
|