For those like me who need a bit more detail:
1) make a text file called chrome-new
2) put the following contents in the file in a POSIX-like OS
#!/bin/sh TMPDIR=`mktemp -d /dev/shm/chrome-XXXXX` chromium-browser --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$@" rm -rf $TMPDIR
chmod u+x chrome-new
For those like me who need a bit more detail:
1) make a text file called chrome-new
2) put the following contents in the file in a POSIX-like OS
3) make the text file executable: This also uses the chromium executable for chrome, which I think is the default on debian-based systems. If this isn't applicable to you, change "chromium-browser" on the third line to whatever the executable is for chrome on your system.