Page 1 of 1

Filtering Advertising with Privoxy

Posted: 07 Sep 2013, 22:49
by wread
Hi all!
Take a look at that:
Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. Privoxy has a flexible configuration and can be customized to suit individual needs and tastes. It has application for both stand-alone systems and multi-user networks.
This is a normal webpage with advertising,

Image

Now the same webpage without advertising,

Image


This can be done using Privoxy for Porteus; download it from here. You will need both, privoxy-3.0.21 and pcre-8.33.

Awesome, isn't it?

Enjoy 8)

Re: Filtering Advertising with Privoxy

Posted: 08 Sep 2013, 02:16
by francois
@wread:

Very interesting application. 8)

I have tried it on 64 bit with chromium and compat. It does not work. Any suggestion?
http://www.privoxy.org/config/ yields:

Code: Select all

The fact that you are reading this page shows that Privoxy was not used in the process of accessing it.
I have tried to config proxy settings on chromium. It is not possible. :)

Re: Filtering Advertising with Privoxy

Posted: 08 Sep 2013, 02:38
by wread
You have to start privoxy, first. I do it in rc.local:

Code: Select all

# Start the Privoxy daemon
if [ -a /etc/privoxy/config ]; then
    echo "starting the privoxy daemon..."
    /usr/sbin/privoxy /etc/privoxy/config
fi
#
Then it should work!

Regards!

Re: Filtering Advertising with Privoxy

Posted: 08 Sep 2013, 02:52
by wread
@francois
To configure proxy settings in chromium, I installed the plugin switchysharp and it worked ok.

You can make a module of this by saving /mnt/live/memory/changes/root/.cache/chromium or by copying it to rootcopy.

I first put it in rootcopy, but now I am using a module, because I have the impression the module loads quicker...

:Yahoo!:

Re: Filtering Advertising with Privoxy

Posted: 15 Sep 2013, 00:20
by francois
@wread:

As I mentioned, I am not on 32 bit, but trying 64 bit and compat.xzm. I have put the script in rc.local. Clearly its there. And I realized that proxy switchysharp was already there as a tool, with some manual setting for tor.

I have put manual settings privoxy, still does not work. :(

Re: Filtering Advertising with Privoxy

Posted: 15 Sep 2013, 01:38
by wread
@francois
First of all check if privoxy is installed and running (rc.privoxy must be chmod +x):

Code: Select all

root@porteus:~# /etc/rc.d/rc.privoxy
Usage: privoxy {start|stop|reload|restart|condrestart|status|top|kill}
root@porteus:~# /etc/rc.d/rc.privoxy status
 1846 ?        Ss     0:00 /usr/sbin/privoxy /etc/privoxy/config
root@porteus:~# 
If not working, check if you have pcre installed and activated.

Second, your Switchysharp must be configured for Privoxy with Manual Configuration>HTTP 120.0.0.1 Port 8118 and Socks5

Both conditions must be fullfilled to get it working.

Good luck!

Re: Filtering Advertising with Privoxy

Posted: 15 Sep 2013, 02:57
by hypomania
there is plugin for firefox , it's work the same function to prevent advertising called (AdBlock)
https://addons.mozilla.org/en-US/firefo ... serprofile