Skip to content

Instantly share code, notes, and snippets.

@omushpapa
Created November 21, 2018 09:47
Show Gist options
  • Save omushpapa/bdb5d98a2e4e864ac2de29f2009d2af7 to your computer and use it in GitHub Desktop.
Save omushpapa/bdb5d98a2e4e864ac2de29f2009d2af7 to your computer and use it in GitHub Desktop.
Opens an incognito Chrome window that has a temporary and isolated profile. Useful for debugging sessions with different user accounts.
#! /usr/bin/env bash
nohup google-chrome --temp-profile --user-data-dir=/tmp/google-chrome.$RANDOM --incognito --no-first-run --disable-extensions --disable-default-apps --disable-infobars &>/dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment