Last active
July 18, 2018 14:27
-
-
Save ryotarai/6961499 to your computer and use it in GitHub Desktop.
Disable SPDY of Google 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 | |
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" | |
Author
ryotarai
commented
Oct 20, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment