Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

dgasull

« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS 

Redirect censored Google servers

// Add this code to your user.action file to make Privoxy redirect Google censored servers to google.co.uk

   1  
   2  # Blocking censored Google servers
   3  # (See http://cyber.law.harvard.edu/filtering/google/)
   4  {+redirect{s/www.google.[a-z][a-z]/www.google.co.uk/}}
   5   www.google.ch
   6   www.google.cn
   7   www.google.de
   8   www.google.fr

Redirect guide.opendns.com to Google using Privoxy

// Add this code to your user.action file to make Privoxy redirect guide.opendns.com's DNS poisoning and searches to Google.

   1  
   2  # Blocking OpenDNS:
   3  {+redirect{s/guide.opendns.com\/\?url=/www.google.com\/search?q=/}}
   4   guide.opendns.com/\?url=
« Newer Snippets
Older Snippets »
Showing 1-2 of 2 total  RSS