From: oes <oes@users.sourceforge.net>
Date: Sun, 10 Mar 2002 19:49:24 +0000 (+0000)
Subject: Added expression to kill referer tracking in JavaScripts
X-Git-Tag: v_2_9_12~71
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@edit-actions-list?a=commitdiff_plain;h=0ced1638491fe42f8761db280fc2adf0e18c63b3;p=privoxy.git

Added expression to kill referer tracking in JavaScripts
---

diff --git a/re_filterfile b/re_filterfile
index 2fb7c723..92402203 100644
--- a/re_filterfile
+++ b/re_filterfile
@@ -27,6 +27,9 @@
 # 
 #  Revisions   :
 #     $Log: re_filterfile,v $
+#     Revision 1.18  2002/03/08 17:14:12  oes
+#     PNG -> image in comments
+#
 #     Revision 1.17  2002/03/07 03:50:54  oes
 #     Adapted comments to new built-in images
 #
@@ -142,6 +145,14 @@ s/status='.*?';*//ig
 
 s|(document\.cookie)([ \t\r\n]*=)|documenZapCooky$2|g
 
+# ********************************************************************/
+#
+# Get rid of Javascript referrer tracking: (http://www.randomoddness.com/untitled.htm)
+#
+# ********************************************************************/
+
+s|(<script.*)document\.referrer(.*</script>)|$1"NotYourBusiness!"$2|Usg
+
 # ********************************************************************/
 #
 # Kill *all* popups a la popup.c. (But for *all* sites, so I wouldn't do that.)