Skip to content

Instantly share code, notes, and snippets.

@umi-uyura
Created September 29, 2015 06:15
Show Gist options
  • Save umi-uyura/61610c1a66763fa62fba to your computer and use it in GitHub Desktop.
Save umi-uyura/61610c1a66763fa62fba to your computer and use it in GitHub Desktop.
Chromeを起動オプション付きで実行
#!/bin/sh
#
# 起動オプション(参考)
# http://chrome.half-moon.org/43.html
#
# --allow-file-access-from-files
# file://からの読み込みを許可する。ローカルなリソースへアクセスが必要な場合に使用。
#
# --enable-geolocation
# Geolocation APIを有効化する
#
# --remote-debugging-port=9222
# リモートデバッギングモードを有効にする
#
# --incognito
# シークレットモードで起動する
#
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files --enable-geolocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment