Skip to content

Instantly share code, notes, and snippets.

@ryotarai
Last active July 18, 2018 14:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryotarai/6961499 to your computer and use it in GitHub Desktop.
Save ryotarai/6961499 to your computer and use it in GitHub Desktop.
Disable SPDY of Google Chrome
#!/bin/sh
CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
if [ -f "${CHROME}.orig" ]; then
echo "Spdy already seems to be disable" >&2
exit 1
fi
mv "$CHROME" "${CHROME}.orig"
cat <<EOC > "$CHROME"
#!/bin/sh
"${CHROME}.orig" --use-spdy=off
EOC
chmod +x "$CHROME"
@ryotarai
Copy link
Author

curl https://gist.github.com/ryotarai/6961499/raw/disable_spdy_chrome.sh | bash -ex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment