Last active
February 14, 2020 20:04
-
-
Save infynyxx/9948d9d57b39c99c264574e8c8aec543 to your computer and use it in GitHub Desktop.
Start chrome in stateless mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# ~/bin/chrome-new | |
TMPDIR=`mktemp -d /tmp/chrome-XXXXX` | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=$TMPDIR --no-first-run --autoplay-policy=no-user-gesture-required --no-make-default-browser "$@" | |
rm -rf $TMPDIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment