Skip to content

Commit

Permalink
add run-example script
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10004 committed Oct 31, 2017
1 parent 0dca096 commit 9b23362
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
/.idea/
/*.iml
/*/*.iml
/example-data-dir

8 changes: 8 additions & 0 deletions run-example.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -e

URL="https://ipleak.net/"
DATA_DIR=example-data-dir
CHROME=$(which google-chrome || chromium-browser)
"${CHROME}" --no-first-run --no-default-browser-check --user-data-dir="${DATA_DIR}" --load-extension=antiprint-extension "${URL}"

0 comments on commit 9b23362

Please sign in to comment.