How to create multiple anonymous Chromium browser session

Written by Johannes on January 15, 2012 Categories: bash-Scripts Tags: , ,

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

With this script you can easily browse anonymously without having to trust the incognito mode of your browser which provides little protection against nosy websites such as Facebook.

First start a chromium session with the following command

user@host:$ chromium-browser --user-data-dir=$HOME/Vorlagen/anon_chrome

Chromium will now start a new session and store all the session data in $HOME/Vorlagen/anon_chrome (~/Vorlagen is the default template folder for the German Ubuntu version). Tweak your browser to your liking, install necessary extensions (Adblock) and close the browser. Do not ever use that data-dir ever again for for real browsing. You don’t want to have any kind of user session data in that directory. If you want to be sure issue a “$ chmod -R a-w $HOME/Vorlagen/anon_chrome” to prevent anyone from accidentally writing into that directory.

The following script will  now create a copy of these user settings in /tmp and create a safe and anonymous browsing session. You can even use a proxy by using the –proxy-server=”type://server:port” flag.

TEMPDIR=`mktemp -d`
cp -r $HOME/Vorlagen/anon_chrome/* $TEMPDIR/
chromium-browser --user-data-dir=$TEMPDIR $*
rm -rf $TEMPDIR
No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">