|
|
|
|
|
by low_key
2064 days ago
|
|
I do something similar with chrome (have to use sometimes it for testing compatibility), but just create a fresh profile every time with: chrome_dir=$(mktemp -d)
echo "Using temp dir: $chrome_dir"
/usr/bin/google-chrome \
--incognito \
--user-data-dir="$chrome_dir" \
--window-size=1280,1280 \
--no-referrers \
--no-pings \
--no-experiments \
--disable-translate \
--dns-prefetch-disable \
--disable-background-mode \
--no-first-run \
--no-default-browser-check
wait $!
rm -rf "$chrome_dir"
|
|