home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / privoxy / privoxy_setup_3.0.21.exe / clean_user.action < prev    next >
Text File  |  2013-03-08  |  9KB  |  198 lines

  1. ######################################################################
  2. #  File        :  $Source: /cvsroot/ijbswa/current/user.action,v $
  3. #  $Id: user.action,v 1.13 2011/11/06 11:36:01 fabiankeil Exp $
  4. #
  5. #  Purpose     :  User-maintained actions file, see
  6. #                 http://www.privoxy.org/user-manual/actions-file.html
  7. #
  8. ######################################################################
  9.  
  10. # This is the place to add your personal exceptions and additions to
  11. # the general policies as defined in default.action. (Here they will be
  12. # safe from updates to default.action.) Later defined actions always
  13. # take precedence, so anything defined here should have the last word.
  14.  
  15. # See http://www.privoxy.org/user-manual/actions-file.html, or the 
  16. # comments in default.action, for an explanation of what an "action" is
  17. # and what each action does.
  18.  
  19. # The examples included here either use bogus sites, or have the actual
  20. # rules commented out (with the '#' character). Useful aliases are
  21. # included in the top section as a convenience.
  22.  
  23. #############################################################################
  24. # Aliases
  25. #############################################################################
  26. {{alias}}
  27. #############################################################################
  28. #
  29. # You can define a short form for a list of permissions - e.g., instead
  30. # of "-crunch-incoming-cookies -crunch-outgoing-cookies -filter -fast-redirects",
  31. # you can just write "shop". This is called an alias.
  32. #
  33. # Currently, an alias can contain any character except space, tab, '=', '{'
  34. # or '}'.
  35. # But please use only 'a'-'z', '0'-'9', '+', and '-'.
  36. #
  37. # Alias names are not case sensitive.
  38. #
  39. # Aliases beginning with '+' or '-' may be used for system action names 
  40. # in future releases - so try to avoid alias names like this.  (e.g. 
  41. # "+crunch-all-cookies" below is not a good name)
  42. #
  43. # Aliases must be defined before they are used.
  44. # These aliases just save typing later:
  45. #
  46. +crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
  47. -crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies
  48.  allow-all-cookies  = -crunch-all-cookies -session-cookies-only -filter{content-cookies}
  49.  allow-popups       = -filter{all-popups} -filter{unsolicited-popups}
  50. +block-as-image     = +block{Blocked image request.} +handle-as-image
  51. -block-as-image     = -block
  52.  
  53. # These aliases define combinations of actions
  54. # that are useful for certain types of sites:
  55. #
  56. fragile     = -block -crunch-all-cookies -filter -fast-redirects -hide-referer -prevent-compression
  57. shop        = -crunch-all-cookies allow-popups
  58.  
  59. # Your favourite blend of filters:
  60. #
  61. myfilters   = +filter{html-annoyances} +filter{js-annoyances} +filter{all-popups}\
  62.               +filter{webbugs} +filter{banners-by-size}
  63.  
  64. # Allow ads for selected useful free sites:
  65. #
  66. allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
  67. #... etc.  Customize to your heart's content.
  68.  
  69. ## end aliases ########################################################
  70. #######################################################################
  71.  
  72. # Begin examples: #####################################################
  73.  
  74. # Say you have accounts on some sites that you visit regularly, and you
  75. # don't want to have to log in manually each time. So you'd like to allow
  76. # persistent cookies for these sites. The allow-all-cookies alias defined
  77. # above does exactly that, i.e. it disables crunching of cookies in any
  78. # direction, and the processing of cookies to make them only temporary.
  79. #
  80. { allow-all-cookies }
  81. #.sourceforge.net
  82. #sunsolve.sun.com
  83. #slashdot.org
  84. #.yahoo.com
  85. #.msdn.microsoft.com
  86. #.redhat.com
  87.  
  88. # Say the site where you do your homebanking needs to open popup
  89. # windows, but you have chosen to kill popups uncoditionally by default.
  90. # This will allow it for your-example-bank.com:
  91. #
  92. { -filter{all-popups} }
  93. .banking.example.com
  94.  
  95. # Some hosts and some file types you may not want to filter for
  96. # various reasons:
  97. #
  98. { -filter }
  99.  
  100. # Technical documentation is likely to contain strings that might
  101. # erroneously get altered by the JavaScript-oriented filters:
  102. #
  103. #.tldp.org
  104. #/(.*/)?selfhtml/
  105.  
  106. # And this stupid host sends streaming video with a wrong MIME type,
  107. # so that Privoxy thinks it is getting HTML and starts filtering:
  108. #
  109. stupid-server.example.com/
  110.  
  111.  
  112. # Example of a simple "block" action. Say you've seen an ad on your
  113. # favourite page on example.com that you want to get rid of. You have
  114. # right-clicked the image, selected "copy image location" and pasted
  115. # the URL below while removing the leading http://, into a { +block{reason} }
  116. # section. Note that { +handle-as-image } need not be specified, since
  117. # all URLs ending in .gif will be tagged as images by the general rules
  118. # as set in default.action anyway:
  119. #
  120. { +block{Nasty ads.} }
  121. www.example.com/nasty-ads/sponsor.gif
  122.  
  123. # The URLs of dynamically generated banners, especially from large banner
  124. # farms, often don't use the well-known image file name extensions, which
  125. # makes it impossible for Privoxy to guess the file type just by looking
  126. # at the URL. 
  127. # You can use the +block-as-image alias defined above for these cases.
  128. # Note that objects which match this rule but then turn out NOT to be an
  129. # image are typically rendered as a "broken image" icon by the browser.
  130. # Use cautiously.
  131. #
  132. { +block-as-image }
  133. #.doubleclick.net
  134. #/Realmedia/ads/
  135. #ar.atwola.com/
  136.  
  137. # Now you noticed that the default configuration breaks Forbes
  138. # Magazine, but you were too lazy to find out which action is the
  139. # culprit, and you were again too lazy to give feedback, so you just
  140. # used the fragile alias on the site, and -- whoa! -- it worked. The
  141. # 'fragile' aliases disables those actions that are most likely to break
  142. # a site. Also, good for testing purposes to see if it is Privoxy that
  143. # is causing the problem or not.
  144. { fragile }
  145. #.forbes.com
  146.  
  147. # Here are some sites we wish to support, and we will allow their ads
  148. # through.
  149. #
  150. { allow-ads }
  151. #.sourceforge.net
  152. #.slashdot.org
  153. #.osdn.net
  154.  
  155. # user.action is generally the best place to define exceptions and
  156. # additions to the default policies of default.action. Some actions are
  157. # safe to have their default policies set here though. So let's set a
  158. # default policy to have a 'blank' image as opposed to the checkerboard
  159. # pattern for ALL sites. '/' of course matches all URLs.
  160. # patterns:
  161. #
  162. { +set-image-blocker{blank} }
  163. #/
  164.  
  165. # Enable the following section (not the regression-test directives)
  166. # to rewrite and redirect click-tracking URLs on news.google.com.
  167. # Disabling JavaScript should work as well and probably works more reliably.
  168. #
  169. # 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
  170. # Redirect Destination = http://online.wsj.com/article/SB10001424052970204485304576640791304008536.html
  171. # Ignore = Yes
  172. #
  173. #{+fast-redirects{check-decoded-url}}
  174. #news.google.com/news/url.*&url=http.*&
  175.  
  176. # Enable the following section (not the regression-test directives)
  177. # to block various Facebook "like" and similar tracking URLs.  At the
  178. # time this section was added it was reported to not break Facebook
  179. # itself but this may have changed by the time you read this. This URL
  180. # list is probably incomplete and if you don't have an account anyway,
  181. # you may prefer to block the whole domain.
  182. #
  183. # 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
  184. # Ignore = Yes
  185. # 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
  186. # Ignore = Yes
  187. # 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
  188. # Ignore = Yes
  189. # 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
  190. # Ignore = Yes
  191. #
  192. #{+block{Facebook "like" and similar tracking URLs.}}
  193. #www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php
  194.