News for hackers. Stuff that matters.
Re:Ask HN: How do you set up a virtual browser by hotdox on Sunday September 06, 2020 @04:33PM (#24394434)
I use next script. It creates temporarily dir for firefox, uses it as a profile dir and remove after firefox closed.

   #!/bin/sh -e
   DIR="${XDG_CACHE_HOME:-$HOME/.cache}"
   mkdir -p -- "$DIR"
   TEMP="$(mktemp -d -- "$DIR/firefox-XXXXXX")"
   trap "rm -rf -- '$TEMP'" INT TERM EXIT
   wget 'https://raw.githubusercontent.com/pyllyukko/user.js/master/user.js' -O "$TEMP/user.js"
   firefox -profile "$TEMP" -no-remote "$@"
It also uses very hardened options from https://github.com/pyllyukko/user.js

It is not my invention, but I lost a link to blog post

Re:Ask HN: How do you set up a virtual browser by hotdox on Sunday September 06, 2020 @04:37PM (#24394460)
Another alternative would be https://www.torproject.org/download/
Re:Ask HN: How do you set up a virtual browser by appleflaxen on Monday September 07, 2020 @04:49AM (#24397790)
this is awesome; thank you.