From: SourceForge.net <no...@so...> - 2010-01-28 15:43:10
|
Support Requests item #2941676, was opened at 2010-01-28 15:43 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=2941676&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: filters Group: None Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Nested matching Initial Comment: The creating of powerful filter remains a tough thing to do for someone not familiar with Regex and Perl otherwise. Trying to port a few Proxomitron I come across a problem with nested matching. One example: -- Name = "Kill Nosey JavaScripts" Active = FALSE Bounds = "$NEST(<script,</script>)" Limit = 16000 Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*" Replace = "<!-- Killed Nosey JavaScript -->" -- How could this be made into a filter that is working with Privoxy? It is important to match only inside scripts, a filter that is matching everywhere is possible for me to make but just too broad. Privoxy could attract a lot more people if these filters and its almost impossible to fully understand regex rules were a bit more like Adblock+ or Proxomitron. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=2941676&group_id=11118 |