Created
September 29, 2015 06:15
-
-
Save umi-uyura/61610c1a66763fa62fba to your computer and use it in GitHub Desktop.
Chromeを起動オプション付きで実行
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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