I prefer this way. Much simpler but way more aggressive:
`export HOME=$TMPDIR chrome <args...>`
Will make chrome think that $TMPDIR is $HOME. Keep in mind that means your downloads for example would also be deleted after the rm -rf
This works for most other software too
Better just use 'HOME=$TMPDIR chrome <args... > without the export. With export the Home variable will persist for the current shell, potentially leading to unwanted results.