Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Add incognito flag to chrome options
Browse files Browse the repository at this point in the history
  • Loading branch information
coadler committed Apr 20, 2019
1 parent 96f80d2 commit 3f4919f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func openBrowser(url string) {
}

func chromeOptions(url string) []string {
return []string{"--app=" + url, "--disable-extensions", "--disable-plugins"}
return []string{"--app=" + url, "--disable-extensions", "--disable-plugins", "--incognito"}
}

// Checks if a command exists locally.
Expand Down

0 comments on commit 3f4919f

Please sign in to comment.