Skip to content

Instantly share code, notes, and snippets.

@Semidio
Created October 27, 2013 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Semidio/7178778 to your computer and use it in GitHub Desktop.
Save Semidio/7178778 to your computer and use it in GitHub Desktop.
【あなたの鎮守府のIP】をあなたの鎮守府のIPに変えてください、航海日誌のその他ーバージョン情報ー鎮守府サーバのところから確認できます。もし航海日誌にポート番号を変えたらlocalhost:8888のなかの8888を設定したポート番号に変えてください。
function FindProxyForURL(url, host) {
if (shExpMatch(url,"*://【あなたの鎮守府のIP】/kcs/*")) {
return "PROXY localhost:8888;DIRECT";
}
if (shExpMatch(url,"*://【あなたの鎮守府のIP】/kcsapi/*")) {
return "PROXY localhost:8888;DIRECT";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment