INSTALLING:

sudo apt-get install gambas2-runtime gambas2-runtime gambas2-gb-qt gambas2-gb-qt gambas2-gb-form gambas2-gb-form gambas2-gb-form-dialog gambas2-gb-form-dialog gambas2-gb-qt-kde gambas2-gb-qt-kde gambas2-gb-qt-kde-html gambas2-gb-qt-kde-html

sudo apt-get install dansguardian tinyproxy firehol

gksudo + gedit + bash are currently also required.
Editor choice will be implemented later.

./configure && make && sudo make install

RUNNING:

/usr/bin/webcontentcontrol

UNINSTALL:

sudo make uninstall

RUNNING THE GUI DIRECTLY:
The "parentalcontrol" directory must be in the directory from which you run the program!

If you run it directly from the project's directory, there shouldn't be any problem.

However, if you run it from the Gambas IDE, the working directory will be your home directory. Therefore, you should create a symlink 
to "parentalcontrol" in your home directory:
ln -s <projectdir>/parentalcontrol ~/parentalcontrol

BLACKLISTS:
Dansguardian doesn't come with extensive blacklists by default, but you can find some very extensive (and categorized) ones here:
http://urlblacklist.com/

This is very useful if you don't want to use weightedphrase filtering.

SSL bypassing:
Dansguardian is able to block SSL. (add sites to ban in the bannedsitelist)
However, this only works if the browser is configured to use dansguardian (port 8080) as proxy for all connection types.
To make the system secure, it is then also necessary to:
-configure the firewall to block SSL connections (port 443) not coming from the proxy.
-Block usage of other browsers and ability to install them.
-Lock browser proxy settings.

I currently have a working system with firefox as only browser and am still looking for a way to make it work with all browsers.
Will implement all this in webcontentcontrol as soon as I can.

REFERENCE:
The reference directory (mmh, yes, I'll add reference URLs another time ;) ) contains reference configuration files.
I managed to get squid+squidguard working to filter https sites like https://proxy.org, so if anybody wants to do the same, it may help them. ;)
It also contains firefox.js files to lock the firefox proxy settings.

HOW TO BLOCK GOOGLE CACHE:
Just add this line in /etc/dansguardian/lists/bannedregexpurllist:
(209.85.135.104\/search\?q=cache) #block google cache
(Compare the ip with the one you get in your browser when using google cache. Adapt if necessary.)

