-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.action
344 lines (321 loc) · 11.6 KB
/
user.action
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
######################################################################
#
# File : $Source: /cvsroot/ijbswa/current/user.action,v $
#
# $Id: user.action,v 1.13 2011/11/06 11:36:01 fabiankeil Exp $
#
# Purpose : User-maintained actions file, see
# http://www.privoxy.org/user-manual/actions-file.html
#
######################################################################
# This is the place to add your personal exceptions and additions to
# the general policies as defined in default.action. (Here they will be
# safe from updates to default.action.) Later defined actions always
# take precedence, so anything defined here should have the last word.
# See http://www.privoxy.org/user-manual/actions-file.html, or the
# comments in default.action, for an explanation of what an "action" is
# and what each action does.
# The examples included here either use bogus sites, or have the actual
# rules commented out (with the '#' character). Useful aliases are
# included in the top section as a convenience.
#############################################################################
# Aliases
#############################################################################
{{alias}}
#############################################################################
#
# You can define a short form for a list of permissions - e.g., instead
# of "-crunch-incoming-cookies -crunch-outgoing-cookies -filter -fast-redirects",
# you can just write "shop". This is called an alias.
#
# Currently, an alias can contain any character except space, tab, '=', '{'
# or '}'.
# But please use only 'a'-'z', '0'-'9', '+', and '-'.
#
# Alias names are not case sensitive.
#
# Aliases beginning with '+' or '-' may be used for system action names
# in future releases - so try to avoid alias names like this. (e.g.
# "+crunch-all-cookies" below is not a good name)
#
# Aliases must be defined before they are used.
#
# These aliases just save typing later:
#
+crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
-crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies
allow-all-cookies = -crunch-all-cookies -session-cookies-only -filter{content-cookies}
allow-popups = -filter{all-popups} -filter{unsolicited-popups}
+block-as-image = +block{Blocked image request.} +handle-as-image
-block-as-image = -block
# These aliases define combinations of actions
# that are useful for certain types of sites:
#
fragile = -block -crunch-all-cookies -filter -fast-redirects -hide-referer -prevent-compression
shop = -crunch-all-cookies allow-popups
# Your favourite blend of filters:
#
myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{all-popups}\
+filter{webbugs} +filter{banners-by-size}
# Allow ads for selected useful free sites:
#
allow-ads = -block -filter{banners-by-size} -filter{banners-by-link}
#... etc. Customize to your heart's content.
## end aliases ########################################################
#######################################################################
# Begin examples: #####################################################
# Say you have accounts on some sites that you visit regularly, and you
# don't want to have to log in manually each time. So you'd like to allow
# persistent cookies for these sites. The allow-all-cookies alias defined
# above does exactly that, i.e. it disables crunching of cookies in any
# direction, and the processing of cookies to make them only temporary.
#
{ allow-all-cookies }
.arcgames.com
.android.clients.google.com
.afterworld.ru
.doviz.com
.facebook.com
.finansbank.com.tr
.innogames.de
.joygame.com
.pembepanjur.com
.plarium.com
.the-west.net
.zirma.net
www.mmorpg.com
www.speedtest.net
# Say the site where you do your homebanking needs to open popup
# windows, but you have chosen to kill popups uncoditionally by default.
# This will allow it for your-example-bank.com:
#
{ -filter{all-popups} }
192.168.1.1
192.168.1.254
www.gameturk.com/portal/popup.js
# Some hosts and some file types you may not want to filter for
# various reasons:
#
{ -filter }
# Technical documentation is likely to contain strings that might
# erroneously get altered by the JavaScript-oriented filters:
#
#.tldp.org
#/(.*/)?selfhtml/
# And this stupid host sends streaming video with a wrong MIME type,
# so that Privoxy thinks it is getting HTML and starts filtering:
#
stupid-server.example.com/
# Example of a simple "block" action. Say you've seen an ad on your
# favourite page on example.com that you want to get rid of. You have
# right-clicked the image, selected "copy image location" and pasted
# the URL below while removing the leading http://, into a { +block{reason} }
# section. Note that { +handle-as-image } need not be specified, since
# all URLs ending in .gif will be tagged as images by the general rules
# as set in default.action anyway:
#
{ +block{Nasty ads.} }
.ad-x.co.uk
.adcolony.com
.adkmob.com
.adonline.e-kolay.net
.ads.anyoption.it
.ads.mopub.com
.ads.mp.mydas.mobi
.ads.yahoo.com
.ads.yimg.com
.ads.zynga.com
.adtilt.com
.amazon-adsystem.com
.amplitude.com
.ashleymadison.com
.conduit.com
.dbreklam2.net
.doubleclick.net
.facebook.com/plugins/ad_unit\.php.*
.fastclick.net
.gameloft.com/(ads/*|tralala/index\.php\?ad=*)
.google-analytics.com
.googleadservices.com
.googlesyndication.com
.googletagservices.com
.heyzap.com
.hotjar.com
.hwcdn.net/bundles/.*\.zip
.hwcdn.net/zen/*
.inmobi.com
.kontera.com
.ksmobile.com
.mobileapptracking.com
.onlinewebstat.com
.otomobilfirsati.com
.outfit7.com/rest/.*/.*/(offers|videos)/*
.quantserve.com
.sayyac.com
.startappservice.com
.sourceforge.net
.sponsorpay.com
.tapjoyads.com
.traffichaus.com
.trafficstars.com
.trovi.com
.virgul.com
.zynga.com/ajax/common_web:pixeltracking*
api.vungle.com/api/.*/(new|requestAd|session.*)
analytics.localytics.com
analytics.yahoo.com
cdn.outfit7.com/(promo-nc|vg|button)/*
cm.ksmobile.com
data.flurry.com
delivery.reklamz.com
hit.clickaider.com
hitbox.com
ingameads.gameloft.com
inmobisdk-a.akamaihd.net
live.chartboost.com
marketing-ssl.upsight-api.com
media.admob.com
mobile-collector.newrelic.com
propellerads.com
ptreklam.com.tr
ptreklamssp.com.tr
reklam.memurlar.net
reklamport.com
reklamstore.com
rubiconproject.com
safebrowsing.google.com
safebrowsing-cache.google.com
static.everyplay.com/impact/*
static.mapfactor.com/android-ads/*
track.appsflyer.com
www.finansbank.com.tr/banner/*
# The URLs of dynamically generated banners, especially from large banner
# farms, often don't use the well-known image file name extensions, which
# makes it impossible for Privoxy to guess the file type just by looking
# at the URL.
# You can use the +block-as-image alias defined above for these cases.
# Note that objects which match this rule but then turn out NOT to be an
# image are typically rendered as a "broken image" icon by the browser.
# Use cautiously.
#
{ +block-as-image }
#.doubleclick.net
#/Realmedia/ads/
#ar.atwola.com/
# Now you noticed that the default configuration breaks Forbes
# Magazine, but you were too lazy to find out which action is the
# culprit, and you were again too lazy to give feedback, so you just
# used the fragile alias on the site, and -- whoa! -- it worked. The
# 'fragile' aliases disables those actions that are most likely to break
# a site. Also, good for testing purposes to see if it is Privoxy that
# is causing the problem or not.
#
{ fragile }
.kayseri.bel.tr
.curse.com
.aeriagames.com
.gameloft.com/ads/adserver/web/fullscreen/*
.gamersfirst.com
.hdfilmsitesi.com.tr
.hsbc.com
.hsbc.com.tr
.kabam.com
.kocasinan.bel.tr
.leagueoflegends.com
.my.mail.ru
.sahibinden.com
.samfirmware.com
.sammobile.com
.samsung.com
.samsungcsportal.com
.static.pornhub.phncdn.com
.the-west.net
.trafficjunky.net
.turkcell.com.tr
.vk.com
.wikia.com
.xda-developers.com
.accounts.firefox.com
accounts.firefox.com
autoupdate-revision.unity3d.com
api.geo.kontagent.net
canvas-live.gop3.nl
cdnapi.kaltura.com
download.windowsupdate.com
minecraft.gamepedia.com
o.gez.io
perfectworld.vanillaforums.com/*
shaiyatora.square7.ch
tw-db.info
www.dizitvhd.net
# For our router
192.168.1.1
# Here are some sites we wish to support, and we will allow their ads
# through.
#
{ allow-ads }
www.gameturk.com/portal/popup.js
# user.action is generally the best place to define exceptions and
# additions to the default policies of default.action. Some actions are
# safe to have their default policies set here though. So let's set a
# default policy to have a 'blank' image as opposed to the checkerboard
# pattern for ALL sites. '/' of course matches all URLs.
# patterns:
#
{ +set-image-blocker{blank} }
#/
# Enable the following section (not the regression-test directives)
# to rewrite and redirect click-tracking URLs on news.google.com.
# Disabling JavaScript should work as well and probably works more reliably.
#
# Redirected URL = http://news.google.com/news/url?ct2=us%2F0_0_s_1_1_a&sa=t&usg=AFQjCNHJWPc7ffoSXPSqBRz55jDA0KgxOQ&cid=8797762374160&url=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10001424052970204485304576640791304008536.html&ei=YcqeTsymCIjxggf8uQE&rt=HOMEPAGE&vm=STANDARD&bvm=section&did=-6537064229385238098
# Redirect Destination = http://online.wsj.com/article/SB10001424052970204485304576640791304008536.html
# Ignore = Yes
#
#{+fast-redirects{check-decoded-url}}
#news.google.com/news/url.*&url=http.*&
# Enable the following section (not the regression-test directives)
# to block various Facebook "like" and similar tracking URLs. At the
# time this section was added it was reported to not break Facebook
# itself but this may have changed by the time you read this. This URL
# list is probably incomplete and if you don't have an account anyway,
# you may prefer to block the whole domain.
#
# Blocked URL = http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Farstechnica&width=300&colorscheme=light&show_faces=false&stream=false&header=false&height=62&border_color=%23FFFFFF
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/activity.php?site=arstechnica.com&width=300&height=370&header=false&colorscheme=light&recommendations=false&border_color=%23FFFFFF
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/fan.php?api_key=368513495882&connections=10&height=250&id=8304333127&locale=en_US&sdk=joey&stream=false&width=377
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/like.php?api_key=368513495882&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df13997452c%26origin%3Dhttp%253A%252F%252Fonline.wsj.com%252Ff1b037e354%26relation%3Dparent.parent%26transport%3Dpostmessage&extended_social_context=false&href=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10001424052970204485304576640791304008536.html&layout=button_count&locale=en_US&node_type=link&ref=wsj_share_FB&sdk=joey&send=false&show_faces=false&width=90
# Ignore = Yes
#
#{+block{Facebook "like" and similar tracking URLs.}}
#www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php
#
# Custom Forwarding rules for our setup
#
{+forward-override{forward-socks5t 127.0.0.1:9050 .} \
}
.apple.com
.netflix.com
.fastcdn.me
.ggpht.com
.google.com
.googleapis.com
.googleusercontent.com
.gstatic.com
.nakedtube.com
.phncdn.com
.pornhub.com
.rncdn3.com
.watchmygf.com
.xhamster.com
.youporn.com
.youtube.com
.trimoon.cloudns.eu
.torproject.org
.exit
.onion
cluster-5.skillclub.com
songza.com