Actions for trackers like FB/Twitter/G+

Beeblebrox <[email protected]>
Newsgroups gmane.comp.web.privoxy.user
Message-ID <[email protected]>
There's a lot of confusing code floating around the interwebs on how to
block website-embedded trackers using Privoxy.

You visit a page, if it has the Facebook/Twitter/Google+ widgets on
there, a cookie gets placed to track further browsing behaviour.
Personally, I delete all cookies on browser exit, but that's a limited
solution. For Privoxy, should we

a) Crunch cookies for trackers or
b) Add a trackers.actions file?

If (b), many versions of sample code exist, so a "canonical" or
curated code sample would be very helpful for flailing users :) Samples
I dug up (mostly from) https://github.com/fdb/privoxy-config


{+block{Block Yahoo Analytics}}
s.yimg.com
.analytics.yahoo.com

{ +filter{plusone}}
/
# Filter Google's plus one Javascript bug.
FILTER: plusone  plusone.google.com
s@https://apis.google.com/js/plusone.js@http://127.0.0.1/plusone-blocked@g

{+block{Block Google Analytics and ads}}
.google-analytics.
.googleadservices.com
plusone.google.com
.googlesyndication.com

# Spécial Google
/.*utm.js                                    # variante d'urchin
/.*stat.*\.js                                # un filtrage générique
/.*\/urchin.js                              # variante d'urchin
/.*s_code.js                                # variate d'urchin
/.*google-analyticator.*                    # le plugin pour wordpress

{+fast-redirects{check-decoded-url}}
news.google.com/news/url.*&url=http.*&

{ +block{Facebook-tracking button.} }
www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php
.facebook.com/(plugins|widgets)/(like|fan|activity).*
badge.facebook.com/badge/*

#This section from:
#https://unix.stackexchange.com/questions/24694/privoxy-blocking-twitter-facebook-and-google-outside-of-their-domainslr
#s|<a [^>]*(sharer.php).*>(.*</a>)|<a href="http://www.fsf.org/fb"><img
src="http://img804.imageshack.us/img804/7822/dislike50.png" alt="Not
f'd" /></a>|sigU
#s|<a [^>]*(sharer.php).*>(.*</a>)|<!-- Squished Facebook Object
-->|sigU
#s|<iframe [^>]*(like.php).*>(.*</iframe>)|<!-- Squished Facebook Frame
-->|sigU

{+block{Block Twitter buttons}}
platform.twitter.com/widgets
#s|<script [^>]*(widgets.js).*>(.*</script>)|<!-- Squished Twitter
Object -->|sigU


Thanks & Regards


-- 
HardenedBSD_amd64_12-Current_RadeonKMS
Please CC my email when responding, mail from list is not delivered.
_______________________________________________
Privoxy-users mailing list
[email protected]
https://lists.privoxy.org/mailman/listinfo/privoxy-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.